From 4d72943208d21297c1a57ca7cb5d1352d14dfef0 Mon Sep 17 00:00:00 2001 From: wudong Date: Fri, 25 Nov 2022 17:39:24 +0800 Subject: [PATCH] websocket --- app/utils/websocket_tool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/websocket_tool.py b/app/utils/websocket_tool.py index e69defd..adf4171 100644 --- a/app/utils/websocket_tool.py +++ b/app/utils/websocket_tool.py @@ -23,6 +23,7 @@ class WebsocketUtil: # 等待连接 msg = ws.receive() # 存储ws连接对象 + print("存储ws连接对象") self.active_connections.append(ws) if id in self.active_connections_dist: self.active_connections_dist[id].append(ws)