mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4845 - fix missing AYON_BUNDLE_NAME
This commit is contained in:
parent
4b6bee1c76
commit
ed3e5a8c6b
1 changed files with 6 additions and 3 deletions
|
|
@ -340,9 +340,12 @@ class NukeSubmitDeadline(pyblish.api.InstancePlugin,
|
|||
environment[_path] = os.environ[_path]
|
||||
|
||||
# to recognize render jobs
|
||||
render_job_label = (
|
||||
"AYON_RENDER_JOB" if AYON_SERVER_ENABLED
|
||||
else "OPENPYPE_RENDER_JOB")
|
||||
if AYON_SERVER_ENABLED:
|
||||
environment["AYON_BUNDLE_NAME"] = os.environ["AYON_BUNDLE_NAME"]
|
||||
render_job_label = "AYON_RENDER_JOB"
|
||||
else:
|
||||
render_job_label = "OPENPYPE_RENDER_JOB"
|
||||
|
||||
environment[render_job_label] = "1"
|
||||
|
||||
# finally search replace in values of any key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue