removed websocket message from console output

This commit is contained in:
Patrick762
2023-05-24 17:15:22 +02:00
parent 2f80192775
commit e4cf962b40

View File

@@ -314,7 +314,7 @@ async def websocket_handler(request: web.Request):
async def websocket_broadcast(message: str): async def websocket_broadcast(message: str):
"""Send a message to each websocket client.""" """Send a message to each websocket client."""
print(f"BROADCAST to {len(websocket_connections)} clients: {message}") print(f"Broadcast to {len(websocket_connections)} clients")
for connection in websocket_connections: for connection in websocket_connections:
await connection.send_str(message) await connection.send_str(message)