diff --git a/app/classes/shared/file_helpers.py b/app/classes/shared/file_helpers.py index f42930f7..53a5a56a 100644 --- a/app/classes/shared/file_helpers.py +++ b/app/classes/shared/file_helpers.py @@ -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): diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index f08322e8..4682c22a 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -1807,4 +1807,4 @@ class ServerInstance: def get_server_history(self): history = self.stats_helper.get_history_stats(self.server_id, 3) - return history \ No newline at end of file + return history diff --git a/app/classes/shared/websocket_manager.py b/app/classes/shared/websocket_manager.py index b1729c76..9031f868 100644 --- a/app/classes/shared/websocket_manager.py +++ b/app/classes/shared/websocket_manager.py @@ -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})}" ) diff --git a/app/classes/web/routes/api/api_handlers.py b/app/classes/web/routes/api/api_handlers.py index a91cca82..36eeb4f0 100644 --- a/app/classes/web/routes/api/api_handlers.py +++ b/app/classes/web/routes/api/api_handlers.py @@ -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,