Skip to content

Commit

Permalink
single handler
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 31, 2024
1 parent 7552b72 commit 43beb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ def __handle_query_action(self, message: Message):
to the `CQS_action` method.
@param message: `question:action` message
"""
if message.data["skill_id"] != self.skill_id:
if not self._cq_handler or message.data["skill_id"] != self.skill_id:
# Not for this skill!
return
data = message.data.get("callback_data") or {}
Expand Down

0 comments on commit 43beb75

Please sign in to comment.