diff --git a/client/ayon_deadline/addon.py b/client/ayon_deadline/addon.py index e3c7c34fd1..37aed8423f 100644 --- a/client/ayon_deadline/addon.py +++ b/client/ayon_deadline/addon.py @@ -209,7 +209,7 @@ def get_pools_by_server_name(self, server_name: str) -> List[str]: """ pools = self._pools_by_server_name.get(server_name) if pools is None: - dl_server_info = self.deadline_servers_info.get(server_name) + dl_server_info = self.deadline_servers_info[server_name] auth = (dl_server_info["default_username"], dl_server_info["default_password"]) @@ -233,7 +233,7 @@ def get_groups_by_server_name(self, server_name: str) -> List[str]: """ groups = self._groups_by_server_name.get(server_name) if groups is None: - dl_server_info = self.deadline_servers_info.get(server_name) + dl_server_info = self.deadline_servers_info[server_name] auth = (dl_server_info["default_username"], dl_server_info["default_password"]) @@ -257,7 +257,7 @@ def get_limit_groups_by_server_name(self, server_name: str) -> List[str]: """ limit_groups = self._limit_groups_by_server_name.get(server_name) if limit_groups is None: - dl_server_info = self.deadline_servers_info.get(server_name) + dl_server_info = self.deadline_servers_info[server_name] auth = (dl_server_info["default_username"], dl_server_info["default_password"]) @@ -281,7 +281,7 @@ def get_machines_by_server_nameserver(self, server_name: str) -> List[str]: """ machines = self._machines_by_server_name.get(server_name) if machines is None: - dl_server_info = self.deadline_servers_info.get(server_name) + dl_server_info = self.deadline_servers_info[server_name] auth = (dl_server_info["default_username"], dl_server_info["default_password"])