diff --git a/app/classes/shared/main_controller.py b/app/classes/shared/main_controller.py index 39a3f0fa..9e08c04c 100644 --- a/app/classes/shared/main_controller.py +++ b/app/classes/shared/main_controller.py @@ -147,10 +147,7 @@ class Controller: @staticmethod def check_system_user(): - if HelperUsers.get_user_id_by_name("system") is not None: - return True - else: - return False + return HelperUsers.get_user_id_by_name("system") is not None def set_project_root(self, root_dir): self.project_root = root_dir