From b0ea943992d56317531d74fe746639e0fc880268 Mon Sep 17 00:00:00 2001 From: Silversthorn Date: Mon, 30 May 2022 19:32:11 +0200 Subject: [PATCH] Fixing lasts pylint warning --- app/classes/controllers/server_perms_controller.py | 3 --- app/classes/controllers/servers_controller.py | 1 - app/classes/web/panel_handler.py | 1 - 3 files changed, 5 deletions(-) diff --git a/app/classes/controllers/server_perms_controller.py b/app/classes/controllers/server_perms_controller.py index ca84bbf9..00a124f8 100644 --- a/app/classes/controllers/server_perms_controller.py +++ b/app/classes/controllers/server_perms_controller.py @@ -8,9 +8,6 @@ from app.classes.models.server_permissions import ( from app.classes.models.users import HelperUsers, ApiKeys from app.classes.models.roles import HelperRoles from app.classes.models.servers import HelperServers -from app.classes.models.server_stats import HelperServerStats - -from app.classes.shared.main_models import DatabaseShortcuts from app.classes.shared.server import Server logger = logging.getLogger(__name__) diff --git a/app/classes/controllers/servers_controller.py b/app/classes/controllers/servers_controller.py index be151e7a..8978a2c5 100644 --- a/app/classes/controllers/servers_controller.py +++ b/app/classes/controllers/servers_controller.py @@ -241,7 +241,6 @@ class ServersController(metaclass=Singleton): user.role_id ) for role in role_servers: - # server_data.append(HelperServers.get_server_data_by_id(role.server_id)) server_data.append( ServersController().get_server_instance_by_id( role.server_id.server_id diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index 0f339e8b..3d0217d2 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -24,7 +24,6 @@ from app.classes.models.crafty_permissions import EnumPermissionsCrafty from app.classes.models.management import HelpersManagement from app.classes.shared.helpers import Helpers from app.classes.shared.main_models import DatabaseShortcuts -from app.classes.shared.server import Server from app.classes.web.base_handler import BaseHandler logger = logging.getLogger(__name__)