diff --git a/ovos_workshop/skills/mycroft_skill.py b/ovos_workshop/skills/mycroft_skill.py index 3430a590..114ff936 100644 --- a/ovos_workshop/skills/mycroft_skill.py +++ b/ovos_workshop/skills/mycroft_skill.py @@ -130,6 +130,7 @@ class MycroftSkill(BaseSkill, metaclass=_SkillMetaclass): recommended to implement `OVOSSkill` to properly implement new methods. """ + @deprecated("mycroft-core has been deprecated, please move to ovos-core", "0.1.0") def __classic_init__(self, name: str = None, bus: MessageBusClient = None, use_settings: bool = True, *args, **kwargs): """ @@ -151,8 +152,8 @@ def __classic_init__(self, name: str = None, bus: MessageBusClient = None, self.settings_write_path = self.root_dir - @deprecated("MycroftSkill class has been deprecated, please subclass from OVOSSkill", "0.1.0") @backwards_compat(classic_core=__classic_init__) + @deprecated("MycroftSkill class has been deprecated, please subclass from OVOSSkill", "0.1.0") def __init__(self, name: str = None, bus: MessageBusClient = None, use_settings: bool = True, *args, **kwargs): """ @@ -317,10 +318,7 @@ def __get_settings_pclassic(self): return join(self.settings_write_path, 'settings.json') return super()._settings_path - @backwards_compat(classic_core=__get_settings_pclassic) - def __get_settings_p(self): - return super()._settings_path - @property + @backwards_compat(classic_core=__get_settings_pclassic) def _settings_path(self): - return self.__get_settings_p() + return super()._settings_path