mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix iteritems method call
This commit is contained in:
parent
ba285533e7
commit
33fcc2a1d6
1 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,8 @@ class LookModel(models.TreeModel):
|
|||
for look in asset_item["looks"]:
|
||||
look_subsets[look["name"]].append(asset)
|
||||
|
||||
for subset, assets in sorted(look_subsets.iteritems()):
|
||||
for subset in sorted(look_subsets.keys()):
|
||||
assets = look_subsets[subset]
|
||||
|
||||
# Define nice label without "look" prefix for readability
|
||||
label = subset if not subset.startswith("look") else subset[4:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue