fix backups failing to complete

the behaviour of daemon=True was the opposite of what I expected
This commit is contained in:
Damien Elmes 2017-09-10 13:17:56 +10:00
parent c5188d9f3a
commit a5bbdf0c5f

View File

@ -366,8 +366,6 @@ from the profile screen."))
Thread.__init__(self)
self.path = path
self.data = data
# make sure we complete before exiting the program
self.setDaemon(True)
# create the file in calling thread to ensure the same
# file is not created twice
open(self.path, "wb").close()