From bfd7f513f531801a711818524d911494dda355a9 Mon Sep 17 00:00:00 2001 From: miro Date: Thu, 11 Jul 2024 21:52:40 +0100 Subject: [PATCH] fix/wrong_log_due_identation_error an error log was always logged on success instead of on failure due to an identation error --- ovos_workshop/skills/common_play.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_workshop/skills/common_play.py b/ovos_workshop/skills/common_play.py index 70a9da38..8ea9a7d2 100644 --- a/ovos_workshop/skills/common_play.py +++ b/ovos_workshop/skills/common_play.py @@ -504,8 +504,8 @@ def __handle_ocp_query(self, message: Message): found = True if self._stop_event.is_set(): break - else: # skip this skill, it doesn't handle this media type - LOG.debug(f"skipping {self.skill_id}, it does not support media type: {media_type}") + else: # skip this skill, it doesn't handle this media type + LOG.debug(f"skipping {self.skill_id}, it does not support media type: {media_type}") if not found: # Signal we are done (can't handle it)