diff --git a/client/ayon_core/hosts/houdini/plugins/publish/collect_staging_dirs_for_cleaning_up.py b/client/ayon_core/hosts/houdini/plugins/publish/collect_staging_dirs_for_cleaning_up.py index c835c74708..1917e3ae26 100644 --- a/client/ayon_core/hosts/houdini/plugins/publish/collect_staging_dirs_for_cleaning_up.py +++ b/client/ayon_core/hosts/houdini/plugins/publish/collect_staging_dirs_for_cleaning_up.py @@ -44,6 +44,7 @@ class CollectStagingDirsForCleaningUp(pyblish.api.InstancePlugin, # Get sop path node_type = node.type().name() + filepath = None if node_type == "geometry": filepath = node.evalParm("sopoutput") @@ -93,6 +94,7 @@ class CollectStagingDirsForCleaningUp(pyblish.api.InstancePlugin, "ROP node type '{}' is not supported for cleaning up." .format(node_type) ) + return if not filepath: self.log.warning("No filepath value to collect.")