mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Appease the linter
This commit is contained in:
parent
ca02c9d575
commit
09241bdc54
@ -37,7 +37,7 @@ class ServersController(metaclass=Singleton):
|
||||
self.management_helper = management_helper
|
||||
self.servers_list = []
|
||||
self.stats = Stats(self.helper, self)
|
||||
self.ws = WebSocketManager()
|
||||
self.web_sock = WebSocketManager()
|
||||
self.server_subpage = {}
|
||||
|
||||
# **********************************************************************************
|
||||
@ -173,11 +173,11 @@ class ServersController(metaclass=Singleton):
|
||||
servers = self.get_all_defined_servers()
|
||||
self.failed_servers = []
|
||||
for server in servers:
|
||||
self.ws.broadcast_to_admins(
|
||||
self.web_sock.broadcast_to_admins(
|
||||
"update",
|
||||
{"section": "server", "server": server["server_name"]},
|
||||
)
|
||||
self.ws.broadcast_to_non_admins(
|
||||
self.web_sock.broadcast_to_non_admins(
|
||||
"update",
|
||||
{"section": "init"},
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user