mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
STUDIO_OVERRIDES_PATH is safer
This commit is contained in:
parent
85844ba4cf
commit
2dea080841
1 changed files with 1 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ M_ENVIRONMENT_KEY = "__environment_keys__"
|
|||
M_POP_KEY = "__pop_key__"
|
||||
|
||||
# Folder where studio overrides are stored
|
||||
STUDIO_OVERRIDES_PATH = os.environ["PYPE_PROJECT_CONFIGS"]
|
||||
STUDIO_OVERRIDES_PATH = os.getenv("PYPE_PROJECT_CONFIGS")
|
||||
|
||||
# File where studio's system overrides are stored
|
||||
SYSTEM_SETTINGS_KEY = "system_settings"
|
||||
|
|
@ -70,7 +70,6 @@ def load_json_file(fpath):
|
|||
"File has invalid json format \"{}\"".format(fpath),
|
||||
exc_info=True
|
||||
)
|
||||
|
||||
return {}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue