From 623926e8f916c760cfce3df63cf144294bb4584f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 21 Apr 2019 18:56:30 +1000 Subject: [PATCH] fix some timers failing to fire --- aqt/main.py | 3 ++- aqt/sync.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aqt/main.py b/aqt/main.py index c9691c75f..969472248 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -1316,7 +1316,8 @@ will be lost. Continue?""")) def onAppMsg(self, buf): if self.state == "startup": # try again in a second - return self.progress.timer(1000, lambda: self.onAppMsg(buf), False) + return self.progress.timer(1000, lambda: self.onAppMsg(buf), False, + requiresCollection=False) elif self.state == "profileManager": # can't raise window while in profile manager if buf == "raise": diff --git a/aqt/sync.py b/aqt/sync.py index 1be967dd8..44b944017 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -74,7 +74,7 @@ If you use any other devices, please sync them now, and choose \ to download the collection you have just uploaded from this computer. \ After doing so, future reviews and added cards will be merged \ automatically.""")) - self.mw.progress.timer(1000, delayedInfo, False) + self.mw.progress.timer(1000, delayedInfo, False, requiresCollection=False) def _updateLabel(self): self.mw.progress.update(label="%s\n%s" % (