parse environment values from settings before merge

This commit is contained in:
iLLiCiTiT 2021-03-11 12:23:25 +01:00
parent c8eba1a181
commit 2a9f16b95d

View file

@ -129,7 +129,10 @@ def set_pype_global_environments() -> None:
# TODO Global environments will be stored in "general" settings so loading
# 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.update(env)