bugfix
This commit is contained in:
parent
4b053e73f3
commit
0ca43320f0
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user