Skip to content

Commit

Permalink
let core do the activation
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 31, 2024
1 parent 016e5cb commit 8e748e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ovos_workshop/skills/auto_translatable.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,7 @@ def universal_fallback_handler(message):
# auto_Translate input
message = self.translate_message(message)
LOG.info(get_handler_name(handler))
success = handler(self, message)
if success:
self.activate()
return success
return handler(self, message)

return universal_fallback_handler

Expand Down

0 comments on commit 8e748e9

Please sign in to comment.