mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2026-01-13 23:32:11 +00:00
严重bug修复
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user