fix msg.data.split(DELIMITER) exception when msg.data is int

这个提交包含在:
fenglui
2023-07-21 03:51:33 +08:00
父节点 61ba544282
当前提交 00a3b91f95

查看文件

@@ -519,7 +519,11 @@ class _ChatHub:
resp_txt_no_link = ""
while not final:
msg = await self.wss.receive()
objects = msg.data.split(DELIMITER)
try:
objects = msg.data.split(DELIMITER)
except :
continue
for obj in objects:
if obj is None or not obj:
continue