mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
workfile template also matches against os.environ
This commit is contained in:
parent
1c931a1606
commit
3ad9533fa8
1 changed files with 3 additions and 0 deletions
|
|
@ -408,6 +408,9 @@ def get_custom_workfile_template(
|
|||
# add root dict
|
||||
anatomy_context_data["root"] = anatomy.roots
|
||||
|
||||
# extend anatomy context with os.environ
|
||||
anatomy_context_data.update(os.environ)
|
||||
|
||||
# get task type for the task in context
|
||||
current_task_type = anatomy_context_data["task"]["type"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue