Skip to content

Commit

Permalink
周末愉快
Browse files Browse the repository at this point in the history
周末愉快
  • Loading branch information
xszyou committed Aug 18, 2023
1 parent d7519a2 commit c8ca0de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/wsa_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ async def __handler(self, websocket, path):
for task in self.__pending:
task.cancel()
self.isConnect = False
self.__running = False
util.log(1,"websocket连接断开:{}".format(self.__port))
self.on_close_handler()

Expand Down Expand Up @@ -159,7 +158,7 @@ def on_connect_handler(self):


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
Expand Down

0 comments on commit c8ca0de

Please sign in to comment.