mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
fix backups failing to complete
the behaviour of daemon=True was the opposite of what I expected
This commit is contained in:
parent
c5188d9f3a
commit
a5bbdf0c5f
1 changed files with 0 additions and 2 deletions
|
@ -366,8 +366,6 @@ from the profile screen."))
|
||||||
Thread.__init__(self)
|
Thread.__init__(self)
|
||||||
self.path = path
|
self.path = path
|
||||||
self.data = data
|
self.data = data
|
||||||
# make sure we complete before exiting the program
|
|
||||||
self.setDaemon(True)
|
|
||||||
# create the file in calling thread to ensure the same
|
# create the file in calling thread to ensure the same
|
||||||
# file is not created twice
|
# file is not created twice
|
||||||
open(self.path, "wb").close()
|
open(self.path, "wb").close()
|
||||||
|
|
Loading…
Reference in a new issue