mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #3587 from pypeclub/bugfix/OP-3658_fix-general-envs-2
Fix general settings environment variables resolution
This commit is contained in:
commit
26ba676373
1 changed files with 4 additions and 1 deletions
5
start.py
5
start.py
|
|
@ -270,8 +270,11 @@ def set_openpype_global_environments() -> None:
|
||||||
|
|
||||||
general_env = get_general_environments()
|
general_env = get_general_environments()
|
||||||
|
|
||||||
|
# first resolve general environment because merge doesn't expect
|
||||||
|
# values to be list.
|
||||||
|
# TODO: switch to OpenPype environment functions
|
||||||
merged_env = acre.merge(
|
merged_env = acre.merge(
|
||||||
acre.parse(general_env),
|
acre.compute(acre.parse(general_env), cleanup=False),
|
||||||
dict(os.environ)
|
dict(os.environ)
|
||||||
)
|
)
|
||||||
env = acre.compute(
|
env = acre.compute(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue