From 839fc018dfacb6c111c8eb98da7b8f737df19595 Mon Sep 17 00:00:00 2001 From: Eilles Date: Wed, 24 Dec 2025 00:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=A5=E9=87=8Dbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py b/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py index 52eeb48..badfefe 100644 --- a/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py +++ b/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py @@ -369,7 +369,7 @@ async def _(): elif ( zhDateTime.DateTime.now() - zhDateTime.DateTime(*filesaves[qqid][name]["date"]) - ).seconds > cache_limit_data[os.path.splitext(name)[-1]][1]: + ).seconds > cache_limit_data[os.path.splitext(name)[-1].lower()][1]: try: os.remove(database_dir / qqid / name) except: