mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixing lasts pylint warning
This commit is contained in:
parent
8f5c688b72
commit
b0ea943992
@ -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__)
|
||||||
|
@ -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
|
||||||
|
@ -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__)
|
||||||
|
Loading…
Reference in New Issue
Block a user