mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixing Pylint Errors
This commit is contained in:
parent
007218111f
commit
a9cdd33c77
@ -239,7 +239,7 @@ class ServersController(metaclass=Singleton):
|
||||
|
||||
@staticmethod
|
||||
def get_authorized_servers(user_id):
|
||||
server_data: ServerInstance.List[ServerInstance.Dict[str, t.Any]] = []
|
||||
server_data: ServerInstance.List[t.Dict[str, t.Any]] = []
|
||||
user_roles = HelperUsers.user_role_query(user_id)
|
||||
for user in user_roles:
|
||||
role_servers = PermissionsServers.get_role_servers_from_role_id(
|
||||
|
@ -1,5 +1,4 @@
|
||||
from contextlib import redirect_stderr
|
||||
from http import server
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
|
@ -17,7 +17,6 @@ from tornado import iostream
|
||||
from tzlocal import get_localzone
|
||||
from croniter import croniter
|
||||
from app.classes.controllers.roles_controller import RolesController
|
||||
from app.classes.controllers.servers_controller import ServersController
|
||||
|
||||
from app.classes.models.servers import Servers
|
||||
from app.classes.models.server_permissions import EnumPermissionsServer
|
||||
|
Loading…
Reference in New Issue
Block a user