This commit is contained in:
yumoqing 2025-08-08 18:17:11 +08:00
parent 4b053e73f3
commit 0ca43320f0

View File

@ -87,7 +87,7 @@ class FileMgr:
if recs:
delrec = recs[0]
await sor.D('file', {'id':fid})
remain = sor.R('file', {'hashvalue':delrec.hashvalue})
remain = await sor.R('file', {'hashvalue':delrec.hashvalue})
if not remain:
os.unlink(delrec.realpath)
rf = RegisterFunction()