Skip to content

Commit

Permalink
Cleanup logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Apr 4, 2024
1 parent 8d7d4de commit 446716b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neon_utils/skills/common_query_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ def __handle_query_classic(self, message):
Extracts phrase and data from message forward this to the skills
CQS_action method.
"""
LOG.info(f"handling for ovos-core 0.0.7")
if message.data["skill_id"] != self.skill_id:
# Not for this skill!
return
LOG.debug(f"handling for ovos-core 0.0.7")
phrase = message.data["phrase"]
data = message.data.get("callback_data")
# Invoke derived class to provide playback data
Expand All @@ -160,10 +160,10 @@ def __handle_query_action(self, message):
to the `CQS_action` method.
@param message: `question:action` message
"""
LOG.info(f"handling for ovos-core 0.0.8")
if message.data["skill_id"] != self.skill_id:
# Not for this skill!
return
LOG.debug(f"handling for ovos-core 0.0.8")
phrase = message.data["phrase"]
data = message.data.get("callback_data") or {}
if data.get("answer"):
Expand Down

0 comments on commit 446716b

Please sign in to comment.