From 86ddfb8ac0d6cd9253908892f8c6ad1857224787 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Thu, 7 Nov 2024 13:08:54 +0100 Subject: [PATCH] Fix typo --- client/ayon_deadline/addon.py | 2 +- client/ayon_deadline/plugins/publish/global/collect_jobinfo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/ayon_deadline/addon.py b/client/ayon_deadline/addon.py index 6f5429c8c2..a9d91c2587 100644 --- a/client/ayon_deadline/addon.py +++ b/client/ayon_deadline/addon.py @@ -130,7 +130,7 @@ def get_limit_groups_by_server_name(self, server_name: str) -> List[str]: return limit_groups - def get_machines_by_server_nameserver(self, server_name: str) -> List[str]: + def get_machines_by_server_name(self, server_name: str) -> List[str]: """Returns dictionary of machines/workers per DL server Args: diff --git a/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py b/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py index 7951bafc1e..94948979b7 100644 --- a/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py +++ b/client/ayon_deadline/plugins/publish/global/collect_jobinfo.py @@ -107,7 +107,7 @@ def apply_settings(cls, project_settings): {"value": limit_group, "label": limit_group}) machines = ( - deadline_addon.get_machines_by_server_nameserver(deadline_server_name)) + deadline_addon.get_machines_by_server_name(deadline_server_name)) for machine in machines: cls.machines_enum_values.append( {"value": machine, "label": machine})