Remove redundant logic since just above it's forced to be "upload" when not asset_type

This commit is contained in:
Roy Nieterau 2022-09-13 15:45:11 +02:00
parent 778e0b2e49
commit 4466d8a942

View file

@ -89,15 +89,6 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
self.log.debug(
"Family: {}\nMapping: {}".format(family_low, self.family_mapping)
)
# Ignore this instance if neither "ftrackFamily" or a family mapping is
# found.
if not asset_type:
self.log.info((
"Family \"{}\" does not match any asset type mapping"
).format(family))
return
status_name = self._get_asset_version_status_name(instance)
# Base of component item data