Fixing Black issues

This commit is contained in:
Silversthorn 2023-08-27 14:10:20 +02:00
parent 29f7399708
commit 58cdfe9ee5
4 changed files with 8 additions and 4 deletions

View File

@ -327,7 +327,8 @@ class FileHelpers:
return "false"
return
# TODO Look if not redundant with the precendent function prefixed ajax_ de differentiate and not broke things
# TODO Look if not redundant with the precendent function
# TODO Prefixed ajax_ to differentiate and not broke things
def ajax_unzip_server(self, zip_path, user_id):
if Helpers.check_file_perms(zip_path):

View File

@ -111,7 +111,8 @@ class WebSocketManager(metaclass=Singleton):
static_clients = self.public_clients | self.auth_clients
clients = list(filter(filter_fn, static_clients))
logger.debug(
f"Sending to {len(clients)} out of {len(self.public_clients | self.auth_clients)} "
f"Sending to {len(clients)} \
out of {len(self.public_clients | self.auth_clients)} "
f"clients: {json.dumps({'event': event_type, 'data': data})}"
)

View File

@ -22,7 +22,9 @@ from app.classes.web.routes.api.servers.server.public import (
ApiServersServerPublicHandler,
)
from app.classes.web.routes.api.servers.server.stats import ApiServersServerStatsHandler
from app.classes.web.routes.api.servers.server.history import ApiServersServerHistoryHandler
from app.classes.web.routes.api.servers.server.history import (
ApiServersServerHistoryHandler,
)
from app.classes.web.routes.api.servers.server.stdin import ApiServersServerStdinHandler
from app.classes.web.routes.api.servers.server.tasks.index import (
ApiServersServerTasksIndexHandler,