mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
unlink tmp file after full up
This commit is contained in:
parent
4e83a67e00
commit
164b0583c3
1 changed files with 1 additions and 0 deletions
|
@ -989,6 +989,7 @@ and cards.id in %s""" % ids2str([c[0] for c in cards])))
|
|||
sendProgressHook = None
|
||||
tmp.close()
|
||||
os.close(fd)
|
||||
os.unlink(name)
|
||||
finally:
|
||||
runHook("fullSyncFinished")
|
||||
|
||||
|
|
Loading…
Reference in a new issue