Fixing Pylint Errors

This commit is contained in:
Silversthorn 2022-06-12 18:30:39 +02:00
parent 007218111f
commit a9cdd33c77
3 changed files with 1 additions and 3 deletions

View File

@ -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(

View File

@ -1,5 +1,4 @@
from contextlib import redirect_stderr
from http import server
import os
import re
import shutil

View File

@ -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