mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
handle 'StingTemplate' in '_root_keys_from_templates'
This commit is contained in:
parent
e5fe964178
commit
2f0d87d084
1 changed files with 3 additions and 0 deletions
|
|
@ -192,6 +192,9 @@ class BaseAnatomy(object):
|
|||
keys_queue.append(data)
|
||||
while keys_queue:
|
||||
queue_data = keys_queue.popleft()
|
||||
if isinstance(queue_data, StringTemplate):
|
||||
queue_data = queue_data.template
|
||||
|
||||
if isinstance(queue_data, dict):
|
||||
for value in queue_data.values():
|
||||
keys_queue.append(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue