fix dictionary loop

This commit is contained in:
Jakub Trllo 2024-03-11 11:52:02 +01:00
parent 26960b789f
commit d4a8ada569

View file

@ -408,8 +408,7 @@ class LoaderActionsModel:
project_entity = ayon_api.get_project(project_name)
for version_entity in version_entities_by_id:
version_id = version_entity["id"]
for version_id, version_entity in version_entities_by_id.items():
product_id = version_entity["productId"]
product_entity = product_entities_by_id[product_id]
folder_id = product_entity["folderId"]