Skip to content

Commit

Permalink
More version compat troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 25, 2023
1 parent 744ecda commit fc1f8d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion neon_utils/skills/neon_fallback_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,9 @@ def fallback_config(self):
def _register_decorated(self):
# Explicitly overridden to ensure the correct super call is made
LOG.debug(f"Registering decorated methods for {self.skill_id}")
FallbackSkillV1._register_decorated(self)
NeonSkill._register_decorated(self)
from ovos_utils.skills import get_non_properties
for attr_name in get_non_properties(self):
method = getattr(self, attr_name)
if hasattr(method, 'fallback_priority'):
self.register_fallback(method, method.fallback_priority)

0 comments on commit fc1f8d3

Please sign in to comment.