mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Removed print statements
This commit is contained in:
parent
f957d54348
commit
ca9788081b
@ -455,12 +455,9 @@ class db_shortcuts:
|
||||
for s in role_server:
|
||||
found = False
|
||||
for item in user_servers:
|
||||
print("SERVER ID: "+ str(s.server_id) + "ITEM ID"+ str(item.server_id))
|
||||
if s.server_id == item.server_id:
|
||||
print("IN FOUND")
|
||||
found = True
|
||||
if not found:
|
||||
print("NOT FOUND?")
|
||||
authorized_servers.append(db_helper.get_server_data_by_id(s.server_id))
|
||||
|
||||
for s in authorized_servers:
|
||||
|
@ -36,11 +36,11 @@ class PanelHandler(BaseHandler):
|
||||
defined_servers = self.controller.list_defined_servers()
|
||||
exec_user_role.add("Super User")
|
||||
else:
|
||||
defined_servers = db_helper.get_all_authorized_servers(exec_user_id)
|
||||
logger.debug(exec_user['roles'])
|
||||
for r in exec_user['roles']:
|
||||
role = db_helper.get_role(r)
|
||||
exec_user_role.add(role['role_name'])
|
||||
defined_servers = db_helper.get_all_authorized_servers(exec_user_id)
|
||||
|
||||
page_data = {
|
||||
# todo: make this actually pull and compare version data
|
||||
|
Loading…
x
Reference in New Issue
Block a user