Fixing lasts pylint warning

This commit is contained in:
Silversthorn 2022-05-30 19:32:11 +02:00
parent 8f5c688b72
commit b0ea943992
3 changed files with 0 additions and 5 deletions

View File

@ -8,9 +8,6 @@ from app.classes.models.server_permissions import (
from app.classes.models.users import HelperUsers, ApiKeys from app.classes.models.users import HelperUsers, ApiKeys
from app.classes.models.roles import HelperRoles from app.classes.models.roles import HelperRoles
from app.classes.models.servers import HelperServers 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 from app.classes.shared.server import Server
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -241,7 +241,6 @@ class ServersController(metaclass=Singleton):
user.role_id user.role_id
) )
for role in role_servers: for role in role_servers:
# server_data.append(HelperServers.get_server_data_by_id(role.server_id))
server_data.append( server_data.append(
ServersController().get_server_instance_by_id( ServersController().get_server_instance_by_id(
role.server_id.server_id role.server_id.server_id

View File

@ -24,7 +24,6 @@ from app.classes.models.crafty_permissions import EnumPermissionsCrafty
from app.classes.models.management import HelpersManagement from app.classes.models.management import HelpersManagement
from app.classes.shared.helpers import Helpers from app.classes.shared.helpers import Helpers
from app.classes.shared.main_models import DatabaseShortcuts from app.classes.shared.main_models import DatabaseShortcuts
from app.classes.shared.server import Server
from app.classes.web.base_handler import BaseHandler from app.classes.web.base_handler import BaseHandler
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)