From c8ca0dee43f1c7c1fef29721a6e39b81ec219837 Mon Sep 17 00:00:00 2001 From: xszyou Date: Fri, 18 Aug 2023 23:00:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E6=9C=AB=E6=84=89=E5=BF=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 周末愉快 --- core/wsa_server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/wsa_server.py b/core/wsa_server.py index f61fc2c..ca15940 100644 --- a/core/wsa_server.py +++ b/core/wsa_server.py @@ -49,7 +49,6 @@ class MyServer: for task in self.__pending: task.cancel() self.isConnect = False - self.__running = False util.log(1,"websocket连接断开:{}".format(self.__port)) self.on_close_handler() @@ -159,7 +158,7 @@ class HumanServer(MyServer): def on_send_handler(self, message): - util.log(1, '向human发送 {}'.format(message)) + # util.log(1, '向human发送 {}'.format(message)) if not self.isConnect: return None return message