diff --git a/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py b/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py index 7f3357f960..3aaaf15cd8 100644 --- a/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py +++ b/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py @@ -91,8 +91,10 @@ def apply_settings(cls, project_settings): deadline_addon = addons_manager["deadline"] deadline_server_name = settings["deadline_server"] pools = deadline_addon.get_pools_by_server_name(deadline_server_name) - for pool in pools: - cls.pool_enum_values.append({"value": pool, "label": pool}) + cls.pool_enum_values = [ + {"value": pool, "label": pool} + for pool in pools + ] groups = deadline_addon.get_groups_by_server_name(deadline_server_name) for group in groups: