mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Maya in DL - fix injection of env vars
This commit is contained in:
parent
2167b4d6dc
commit
6a2b1021a5
1 changed files with 1 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ def inject_openpype_environment(deadlinePlugin):
|
|||
with open(export_url) as fp:
|
||||
contents = json.load(fp)
|
||||
for key, value in contents.items():
|
||||
deadlinePlugin.SetEnvironmentVariable(key, value)
|
||||
deadlinePlugin.SetProcessEnvironmentVariable(key, value)
|
||||
|
||||
os.remove(export_url)
|
||||
|
||||
|
|
@ -162,4 +162,3 @@ def __main__(deadlinePlugin):
|
|||
inject_openpype_environment(deadlinePlugin)
|
||||
else:
|
||||
pype(deadlinePlugin) # backward compatibility with Pype2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue