OP-2765 - revert of unwanted commit

This commit is contained in:
Petr Kalis 2022-03-23 17:25:34 +01:00
parent 91879de0ad
commit bfbb2061bc

View file

@ -85,9 +85,7 @@ def inject_openpype_environment(deadlinePlugin):
with open(export_url) as fp:
contents = json.load(fp)
for key, value in contents.items():
print("key:: {}".format(key))
if key != 'NUMBER_OF_PROCESSORS':
deadlinePlugin.SetProcessEnvironmentVariable(key, value)
deadlinePlugin.SetProcessEnvironmentVariable(key, value)
print(">>> Removing temporary file")
os.remove(export_url)