mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue