mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Adding print statements
This commit is contained in:
parent
cc092d6ecb
commit
e321086f7f
@ -265,12 +265,15 @@ class PanelHandler(BaseHandler):
|
||||
)
|
||||
user_order.remove(server_id)
|
||||
defined_servers.remove(server)
|
||||
print("defined removed:", defined_servers)
|
||||
print("user order removed:", user_order)
|
||||
break
|
||||
for server in defined_servers:
|
||||
server_ids.append(str(server.server_id))
|
||||
if not any(
|
||||
item["server_id"] == str(server.server_id) for item in page_servers
|
||||
):
|
||||
print(f"adding {server.server_id}")
|
||||
page_servers.append(
|
||||
DatabaseShortcuts.get_data_obj(server.server_object)
|
||||
)
|
||||
@ -281,6 +284,8 @@ class PanelHandler(BaseHandler):
|
||||
user_order.remove(server_id)
|
||||
defined_servers = page_servers
|
||||
|
||||
print("Defined:", defined_servers)
|
||||
|
||||
try:
|
||||
tz = get_localzone()
|
||||
except ZoneInfoNotFoundError:
|
||||
|
Loading…
Reference in New Issue
Block a user