From 36b993cd18ab39d84eaf25be081dc2dbe8aae51a Mon Sep 17 00:00:00 2001 From: EillesWan Date: Sun, 21 Jul 2024 17:13:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=80=E4=BF=AE=E5=A4=8D=E7=82=B9?= =?UTF-8?q?=E6=95=B0=E8=AE=BE=E7=BD=AEvalve=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/trimo_plugin_msctconverter/msctexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/trimo_plugin_msctconverter/msctexec.py b/src/plugins/trimo_plugin_msctconverter/msctexec.py index d3892f9..e895d74 100644 --- a/src/plugins/trimo_plugin_msctconverter/msctexec.py +++ b/src/plugins/trimo_plugin_msctconverter/msctexec.py @@ -974,7 +974,7 @@ async def _( else str(event.user_id) ) cd_value = ( - 0 if result.options["value"].value else result.options["value"].args["value"] + result.options["value"].args["value"] if result.options["value"].args else 0 ) people_convert_times[to_change] = cd_value