From 161a689fb47ee4c4e3eb89890263d1b675b7fdf4 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Mon, 14 Aug 2023 09:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E6=AD=A5=E5=9C=B0=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=96=87=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 917bff4..a9ffcf0 100644 --- a/apps/riic_report_analysis.py +++ b/apps/riic_report_analysis.py @@ -63,4 +63,4 @@ class RIICReportAnalysis: await chain.onebot_reply(Text(output.strip())) - os.remove(img_path) + await loop.run_in_executor(None, functools.partial(os.remove, img_path))