From bf9c5b61a5c83d23f43dc05be861bc9fb6829fab Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Tue, 27 May 2025 10:13:43 +0200 Subject: [PATCH] Update client/ayon_core/plugins/publish/cleanup.py Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> --- client/ayon_core/plugins/publish/cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/plugins/publish/cleanup.py b/client/ayon_core/plugins/publish/cleanup.py index 4daeacf754..681fe700a3 100644 --- a/client/ayon_core/plugins/publish/cleanup.py +++ b/client/ayon_core/plugins/publish/cleanup.py @@ -76,7 +76,7 @@ class CleanUp(pyblish.api.InstancePlugin): # product_type in self.exclude_families check. product_type = instance.data["productType"] if any( - exclude_family in product_type + product_type in exclude_family for exclude_family in self.exclude_families ): self.log.debug(