mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Remove unnecessary root addition in get_staging_dir_info function.
The code changes remove the unnecessary addition of roots to ctx_data in the get_staging_dir_info function.
This commit is contained in:
parent
ea4ec677ca
commit
1eb0904583
1 changed files with 1 additions and 3 deletions
|
|
@ -169,8 +169,6 @@ def get_staging_dir_info(
|
|||
ctx_data = get_template_data(
|
||||
project_entity, folder_entity, task_entity, host_name
|
||||
)
|
||||
# add roots to ctx_data
|
||||
ctx_data["root"] = anatomy.roots
|
||||
|
||||
# add additional data
|
||||
ctx_data.update({
|
||||
|
|
@ -178,7 +176,7 @@ def get_staging_dir_info(
|
|||
"type": product_type,
|
||||
"name": product_name
|
||||
},
|
||||
"host": host_name,
|
||||
"root": anatomy.roots
|
||||
})
|
||||
|
||||
# add additional template formatting data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue