From 8ddef1617b1d5bab4d7105aca28d1ae5b722ca88 Mon Sep 17 00:00:00 2001 From: woni <320753691@qq.com> Date: Tue, 28 May 2024 15:43:44 +0800 Subject: [PATCH] fix print --- app/task.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/task.py b/app/task.py index 275eed4..bd176e1 100644 --- a/app/task.py +++ b/app/task.py @@ -39,8 +39,7 @@ def process_message_callback( images.append(item["image_key"]) - - if message_type != "text" and message_content != "记录问题": + if message_type != "text" or message_content != "记录问题": return message_content = content["text"].replace("@_user_1", "").strip()