From efa1b3bd3d25c35cb13cff0940df5deb046a7b55 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Sun, 13 Aug 2023 19:50:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=9B=BE=E7=89=87=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/riic_report_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/riic_report_analysis.py b/apps/riic_report_analysis.py index f55fdb9..9a4ccce 100644 --- a/apps/riic_report_analysis.py +++ b/apps/riic_report_analysis.py @@ -5,7 +5,7 @@ import os class RIICReportAnalysis: async def group_message(self, chain: MessageChain): - if len(chain) != 1: + if len(chain) != 1 or len(chain.images) != 1: return img_seg: Image = chain[0] img_path = await img_seg.download()