mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
remove change on get_anatomy_settings
This commit is contained in:
parent
52ce86060f
commit
a7f5130741
1 changed files with 0 additions and 6 deletions
|
|
@ -857,12 +857,6 @@ def get_anatomy_settings(
|
|||
result, local_settings, project_name, site_name
|
||||
)
|
||||
|
||||
# Replace {task} by '{task[name]}' in all template for backward compatibility
|
||||
for template in result.get('templates', {}).values():
|
||||
for sub_template_name, sub_template_value in template.items():
|
||||
if isinstance(sub_template_value, str) and '{task}' in sub_template_value:
|
||||
template[sub_template_name] = sub_template_value.replace('{task}', '{task[name]}')
|
||||
|
||||
return result
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue