mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix type error comparrison
This commit is contained in:
parent
7d8ade5d5e
commit
cc092d6ecb
@ -268,7 +268,9 @@ class PanelHandler(BaseHandler):
|
||||
break
|
||||
for server in defined_servers:
|
||||
server_ids.append(str(server.server_id))
|
||||
if server not in page_servers:
|
||||
if not any(
|
||||
item["server_id"] == str(server.server_id) for item in page_servers
|
||||
):
|
||||
page_servers.append(
|
||||
DatabaseShortcuts.get_data_obj(server.server_object)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user