From a5bbdf0c5fa60f7187d5022516da4e8bd5042dbd Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 10 Sep 2017 13:17:56 +1000 Subject: [PATCH] fix backups failing to complete the behaviour of daemon=True was the opposite of what I expected --- aqt/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/aqt/main.py b/aqt/main.py index 41c999e7c..c79fafd61 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -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()