mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
system_settings to get_system_settings
This commit is contained in:
parent
92d751d94d
commit
c64fdd19dd
3 changed files with 5 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ from abc import ABCMeta, abstractmethod
|
|||
|
||||
import six
|
||||
|
||||
from pype.settings import system_settings, environments
|
||||
from pype.settings import get_system_settings, get_environments
|
||||
from ..api import Logger
|
||||
|
||||
from .python_module_tools import (
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ from avalon.vendor import requests
|
|||
|
||||
import pyblish.api
|
||||
from pype.hosts.maya import lib
|
||||
from pype.api import system_settings
|
||||
from pype.api import get_system_settings
|
||||
|
||||
|
||||
# mapping between Maya renderer names and Muster template ids
|
||||
|
|
@ -25,7 +25,7 @@ def _get_template_id(renderer):
|
|||
:rtype: int
|
||||
"""
|
||||
|
||||
templates = system_settings()["modules"]["Muster"]["templates_mapping"]
|
||||
templates = get_system_settings()["modules"]["Muster"]["templates_mapping"]
|
||||
if not templates:
|
||||
raise RuntimeError(("Muster template mapping missing in pype-settings"))
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ from six import text_type
|
|||
from .vendor import qtawesome
|
||||
from .constants import PluginStates, InstanceStates, GroupStates, Roles
|
||||
|
||||
from pype.api import system_settings
|
||||
from pype.api import get_system_settings
|
||||
|
||||
|
||||
# ItemTypes
|
||||
|
|
@ -104,7 +104,7 @@ class IntentModel(QtGui.QStandardItemModel):
|
|||
self.default_index = 0
|
||||
|
||||
intents_preset = (
|
||||
system_settings()
|
||||
get_system_settings()
|
||||
.get("modules", {})
|
||||
.get("Ftrack", {})
|
||||
.get("intent", {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue