mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
modules settings for OpenPypeModule are empty
This commit is contained in:
parent
baa2359ea6
commit
29cf1faa9f
1 changed files with 3 additions and 13 deletions
|
|
@ -15,13 +15,9 @@ from abc import ABCMeta, abstractmethod
|
||||||
import six
|
import six
|
||||||
import appdirs
|
import appdirs
|
||||||
|
|
||||||
from ayon_core.lib import Logger
|
from ayon_core.lib import Logger, is_dev_mode_enabled
|
||||||
from ayon_core.client import get_ayon_server_api_connection
|
from ayon_core.client import get_ayon_server_api_connection
|
||||||
from ayon_core.settings import get_system_settings
|
from ayon_core.settings.ayon_settings import get_ayon_settings
|
||||||
from ayon_core.settings.ayon_settings import (
|
|
||||||
is_dev_mode_enabled,
|
|
||||||
get_ayon_settings,
|
|
||||||
)
|
|
||||||
|
|
||||||
from .interfaces import (
|
from .interfaces import (
|
||||||
IPluginPaths,
|
IPluginPaths,
|
||||||
|
|
@ -648,7 +644,6 @@ class AddonsManager:
|
||||||
|
|
||||||
def __init__(self, settings=None, initialize=True):
|
def __init__(self, settings=None, initialize=True):
|
||||||
self._settings = settings
|
self._settings = settings
|
||||||
self._system_settings = None
|
|
||||||
|
|
||||||
self._addons = []
|
self._addons = []
|
||||||
self._addons_by_id = {}
|
self._addons_by_id = {}
|
||||||
|
|
@ -740,12 +735,7 @@ class AddonsManager:
|
||||||
if settings is None:
|
if settings is None:
|
||||||
settings = get_ayon_settings()
|
settings = get_ayon_settings()
|
||||||
|
|
||||||
# OpenPype settings
|
modules_settings = {}
|
||||||
system_settings = self._system_settings
|
|
||||||
if system_settings is None:
|
|
||||||
system_settings = get_system_settings()
|
|
||||||
|
|
||||||
modules_settings = system_settings["modules"]
|
|
||||||
|
|
||||||
report = {}
|
report = {}
|
||||||
time_start = time.time()
|
time_start = time.time()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue