mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixing Black issues
This commit is contained in:
parent
29f7399708
commit
58cdfe9ee5
@ -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):
|
||||
|
@ -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})}"
|
||||
)
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user