严重bug修复

This commit is contained in:
Eilles
2025-12-24 00:27:40 +08:00
parent fcbf14fe2a
commit 839fc018df

View File

@@ -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: