From 19e35f0d9d416e1e67c5d0700617303f55fcd638 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 31 May 2024 10:07:00 -0700 Subject: [PATCH] Add `is_intent` kwarg to MycroftSkill class to resolve errors --- ovos_workshop/skills/mycroft_skill.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_workshop/skills/mycroft_skill.py b/ovos_workshop/skills/mycroft_skill.py index d60caeb1..344972ba 100644 --- a/ovos_workshop/skills/mycroft_skill.py +++ b/ovos_workshop/skills/mycroft_skill.py @@ -206,7 +206,7 @@ def _init_settings(self): # patched due to functional (internal) differences under mycroft-core def __on_end_classic(self, message: Message, handler_info: str, - skill_data: dict): + skill_data: dict, is_intent=False): # mycroft-core style settings if self.settings != self._initial_settings: try: @@ -222,7 +222,7 @@ def __on_end_classic(self, message: Message, handler_info: str, @backwards_compat(classic_core=__on_end_classic) def _on_event_end(self, message: Message, handler_info: str, - skill_data: dict): + skill_data: dict, is_intent=False): """ Store settings and indicate that the skill handler has completed """