mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
added check for template value that it is a string
This commit is contained in:
parent
3770d642e9
commit
def7fa7e08
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class Delivery(BaseAction):
|
|||
first = None
|
||||
for key, template in (anatomy.templates.get("delivery") or {}).items():
|
||||
# Use only keys with `{root}` or `{root[*]}` in value
|
||||
if "{root" in template:
|
||||
if isinstance(template, str) and "{root" in template:
|
||||
new_anatomies.append({
|
||||
"label": key,
|
||||
"value": key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue