From 9fcc50ab1d9487e05502677eb1377f4cf49ce0fa Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Wed, 6 Nov 2024 15:25:23 +0100 Subject: [PATCH] Fix showing attributes for not farm instances --- client/ayon_deadline/plugins/publish/global/collect_jobinfo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py b/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py index 1983682a3c..3aa5549941 100644 --- a/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py +++ b/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py @@ -114,6 +114,9 @@ def apply_settings(cls, project_settings): @classmethod def get_attr_defs_for_instance(cls, create_context, instance): + if instance.product_type not in cls.families: + return [] + host_name = create_context.host_name task_name = instance["task"]