去除wcf对象

This commit is contained in:
liuwei
2025-04-22 16:26:18 +08:00
parent e0a0b28807
commit ad61f61664
7 changed files with 44 additions and 53 deletions

View File

@@ -98,7 +98,7 @@ class MessageStorage:
def process_image(self, msg: WxMessage):
"""异步处理图片消息,与消息存档分离"""
if msg.msg_type != 3 or not self.client: # 不是图片消息或没有WCF实例
if msg.msg_type != 3 or not self.client: # 不是图片消息或没有client实例
return False
# 提交任务到图片处理线程池