mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #1113 from pypeclub/bugfix/parse_global_environments
Parse global environments
This commit is contained in:
commit
382d54015e
1 changed files with 4 additions and 1 deletions
5
start.py
5
start.py
|
|
@ -129,7 +129,10 @@ def set_pype_global_environments() -> None:
|
||||||
|
|
||||||
# TODO Global environments will be stored in "general" settings so loading
|
# TODO Global environments will be stored in "general" settings so loading
|
||||||
# will be modified and can be done in igniter.
|
# will be modified and can be done in igniter.
|
||||||
env = acre.merge(all_env["global"], dict(os.environ))
|
env = acre.merge(
|
||||||
|
acre.parse(all_env["global"]),
|
||||||
|
dict(os.environ)
|
||||||
|
)
|
||||||
os.environ.clear()
|
os.environ.clear()
|
||||||
os.environ.update(env)
|
os.environ.update(env)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue