mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix dicionary loop
This commit is contained in:
parent
92bf8d0035
commit
99c3cb5033
1 changed files with 3 additions and 1 deletions
|
|
@ -263,7 +263,9 @@ class IntegrateFtrackApi(pyblish.api.InstancePlugin):
|
|||
self.log.info("Creating asset types with short names: {}".format(
|
||||
", ".join(asset_type_names_by_missing_shorts.keys())
|
||||
))
|
||||
for missing_short, type_name in asset_type_names_by_missing_shorts:
|
||||
for missing_short, type_name in (
|
||||
asset_type_names_by_missing_shorts.items()
|
||||
):
|
||||
# Use short for name if name is not defined
|
||||
if not type_name:
|
||||
type_name = missing_short
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue