Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kalisp committed Nov 7, 2024
1 parent d6378a3 commit 3cbecec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/ayon_deadline/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def initialize(self, studio_settings):
self._pools_by_server_name = {}
self._limit_groups_by_server_name = {}
self._groups_by_server_name = {}
self.__machines_by_server_name = {}
self._machines_by_server_name = {}

def get_plugin_paths(self):
"""Deadline plugin paths."""
Expand Down Expand Up @@ -279,7 +279,7 @@ def machines_by_server_nameserver(self, server_name: str) -> List[str]:
Dict[str, List[str]]: {"default": ["renderNode1", "PC1"]}
"""
machines = self.__machines_by_server_name.get(server_name)
machines = self._machines_by_server_name.get(server_name)
if machines is None:
dl_server_info = self.deadline_servers_info.get(server_name)

Expand All @@ -289,6 +289,6 @@ def machines_by_server_nameserver(self, server_name: str) -> List[str]:
dl_server_info["value"],
auth
)
self.__machines_by_server_name[server_name] = machines
self._machines_by_server_name[server_name] = machines

return machines

0 comments on commit 3cbecec

Please sign in to comment.