mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix key access
This commit is contained in:
parent
e87024d7ff
commit
065964525a
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ def _project_anatomy_backwards_compatible_conversion(project_anatomy):
|
||||||
value = value[key]
|
value = value[key]
|
||||||
|
|
||||||
for item in value:
|
for item in value:
|
||||||
for node in item.get("requiredNodes") or []:
|
for node in item.get("knobs") or []:
|
||||||
if "type" in node:
|
if "type" in node:
|
||||||
break
|
break
|
||||||
node["type"] = "__legacy__"
|
node["type"] = "__legacy__"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue