Skip to content

Commit

Permalink
classic mycrof-core
Browse files Browse the repository at this point in the history
(why do i still care?)
  • Loading branch information
JarbasAl committed Sep 22, 2023
1 parent 018da6c commit a73067d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ovos_workshop/skills/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,8 +1061,13 @@ def __get_response(self):
if OVOS_VERSION_MAJOR == 0 and OVOS_VERSION_MINOR == 0 and OVOS_VERSION_BUILD <= 8 and OVOS_VERSION_ALPHA < 5:
is_old = True
except ImportError:
# standalone usage without core
pass
try:
# classic mycroft-core / not ovos
from mycroft.version import CORE_VERSION_MAJOR
is_old = True
except ImportError:
# standalone usage without core
pass

self.bus.emit(Message("skill.converse.get_response.enable",
{"skill_id": self.skill_id}))
Expand Down

0 comments on commit a73067d

Please sign in to comment.