try not to close sqlitedict more than once

This commit is contained in:
j 2016-02-12 19:04:13 +05:30
commit f68f5f5669
3 changed files with 3 additions and 2 deletions

View file

@ -59,7 +59,7 @@ class Downloads(Thread):
def join(self):
self.transfers.commit()
self.transfers.close()
self.transfers.close(do_log=False)
return Thread.join(self)
def wait_online(self):