mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fixed overriding variable value
This commit is contained in:
parent
d61c060242
commit
5058d5b303
1 changed files with 3 additions and 3 deletions
|
|
@ -1468,8 +1468,8 @@ class Roots:
|
|||
return RootItem(data, key, parent_keys, parent=parent)
|
||||
|
||||
output = {}
|
||||
for key, value in data.items():
|
||||
for _key, value in data.items():
|
||||
_parent_keys = list(parent_keys)
|
||||
_parent_keys.append(key)
|
||||
output[key] = Roots._parse_dict(value, key, _parent_keys, parent)
|
||||
_parent_keys.append(_key)
|
||||
output[_key] = Roots._parse_dict(value, _key, _parent_keys, parent)
|
||||
return output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue