mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Remove print statements
This commit is contained in:
parent
5542f792c8
commit
3e8f04318c
@ -413,15 +413,12 @@ class PanelHandler(BaseHandler):
|
||||
)
|
||||
logger.debug(f"ASFR: {user_auth}")
|
||||
page_data["servers"] = user_auth
|
||||
print("user auth", page_data["servers"])
|
||||
page_data["server_stats"]["running"] = len(
|
||||
list(filter(lambda x: x["stats"]["running"], page_data["servers"]))
|
||||
)
|
||||
print("running", page_data["server_stats"]["running"])
|
||||
page_data["server_stats"]["stopped"] = (
|
||||
len(page_data["servers"]) - page_data["server_stats"]["running"]
|
||||
)
|
||||
print("stopped", page_data["server_stats"]["stopped"])
|
||||
|
||||
# set user server order
|
||||
user_order = self.controller.users.get_user_by_id(exec_user["user_id"])
|
||||
|
Loading…
Reference in New Issue
Block a user