From cf64c36d33a6ecd3d0d6c5424e4205403cf3ff3a Mon Sep 17 00:00:00 2001 From: JIAKUNHAO Date: Thu, 24 Nov 2022 17:42:42 +0800 Subject: [PATCH] ws --- app/utils/websocket_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/websocket_tool.py b/app/utils/websocket_tool.py index 6fde842..81c61a7 100644 --- a/app/utils/websocket_tool.py +++ b/app/utils/websocket_tool.py @@ -98,7 +98,7 @@ class WsFile: self.ws = ws def __getstate__(self): - pickled = {"id": id} + pickled = {"id": self.id, "ws": self.ws} return pickled def __setstate(self, pickled_dict):