mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix root_value_for_template method in Anatomy
This commit is contained in:
parent
16d4e9f0c7
commit
dd82401259
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ class Anatomy:
|
|||
"""Returns value of root key from template."""
|
||||
root_templates = []
|
||||
for group in re.findall(self.root_key_regex, template):
|
||||
root_templates.append(group)
|
||||
root_templates.append("{" + group + "}")
|
||||
|
||||
if not root_templates:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue