From 85cb28b9ad6ba1fc7d9dd2970e42ef0c7c47595b Mon Sep 17 00:00:00 2001 From: luukas Date: Mon, 22 Mar 2021 10:08:58 +0200 Subject: [PATCH] Fix bug where server wizard would not show --- app/classes/web/server_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/classes/web/server_handler.py b/app/classes/web/server_handler.py index 641fdfa9..f34ba033 100644 --- a/app/classes/web/server_handler.py +++ b/app/classes/web/server_handler.py @@ -36,10 +36,10 @@ class ServerHandler(BaseHandler): user_role = [] if user['superuser'] == 1: - defined_servers = controller.list_defined_servers() + defined_servers = self.controller.list_defined_servers() user_role = "Super User" else: - defined_servers = controller.list_authorized_servers(userId) + defined_servers = self.controller.list_authorized_servers(userId) for r in user['roles']: role = db_helper.get_role(r) user_role.append(role['role_name'])