Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Sep 19, 2023
1 parent beee9dd commit f210b07
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 @@ -26,7 +26,7 @@ def __instancecheck__(self, instance):
if is_classic_core():
# instance imported from vanilla mycroft
from mycroft.skills import MycroftSkill as _CoreSkill
if issubclass(self.__class__, _CoreSkill):
if issubclass(instance.__class__, _CoreSkill):
return True

return super().__instancecheck__(instance) or \
Expand Down

0 comments on commit f210b07

Please sign in to comment.