mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Remove AddonSettingsDef
This commit is contained in:
parent
6b39877087
commit
a33b3d3b5c
2 changed files with 2 additions and 14 deletions
|
|
@ -4,6 +4,6 @@ If addon class or settings definition won't be here their definition won't
|
||||||
be found by OpenPype discovery.
|
be found by OpenPype discovery.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from .kitsu_module import AddonSettingsDef, KitsuModule
|
from .kitsu_module import KitsuModule
|
||||||
|
|
||||||
__all__ = ("AddonSettingsDef", "KitsuModule")
|
__all__ = "KitsuModule"
|
||||||
|
|
|
||||||
|
|
@ -34,18 +34,6 @@ from openpype_interfaces import IPluginPaths, ITrayAction
|
||||||
from .utils.listeners import start_listeners
|
from .utils.listeners import start_listeners
|
||||||
|
|
||||||
|
|
||||||
class AddonSettingsDef(JsonFilesSettingsDef):
|
|
||||||
schema_prefix = "kitsu"
|
|
||||||
|
|
||||||
def get_settings_root_path(self):
|
|
||||||
"""Implemented abstract class of JsonFilesSettingsDef.
|
|
||||||
|
|
||||||
Return directory path where json files defying addon settings are
|
|
||||||
located.
|
|
||||||
"""
|
|
||||||
return os.path.join(os.path.dirname(os.path.abspath(__file__)), "settings")
|
|
||||||
|
|
||||||
|
|
||||||
class KitsuModule(OpenPypeModule, IPluginPaths, ITrayAction):
|
class KitsuModule(OpenPypeModule, IPluginPaths, ITrayAction):
|
||||||
"""Kitsu module class."""
|
"""Kitsu module class."""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue