Actually break loop early on detected mapping

This commit is contained in:
Roy Nieterau 2022-09-13 15:45:48 +02:00
parent 4466d8a942
commit 1bc37ace46

View file

@ -82,6 +82,7 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
for map_family, map_value in self.family_mapping.items():
if map_family.lower() == family_low:
asset_type = map_value
break
if not asset_type:
asset_type = "upload"