Appease black

This commit is contained in:
Zedifus 2022-06-13 22:35:33 +01:00
parent 75d3baccbd
commit f1340f4f45

View File

@ -17,9 +17,7 @@ class WebSocketHelper:
def remove_client(self, client):
self.clients.remove(client)
def send_message(
self, client, event_type: str, data
):
def send_message(self, client, event_type: str, data):
if client.check_auth():
message = str(json.dumps({"event": event_type, "data": data}))
client.write_message_helper(message)