From 20ee0a8b1bbf0d5a4cc61c767f6cfdb7d96548d1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 9 Jun 2020 09:07:41 +1000 Subject: [PATCH] fix 'NoneType' object has no attribute 'latest_progress' https://anki.tenderapp.com/discussions/beta-testing/1964-anki-2128-alpha#comment_48382636 --- qt/aqt/mediasync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/mediasync.py b/qt/aqt/mediasync.py index 2ef984996..df9ae94bb 100644 --- a/qt/aqt/mediasync.py +++ b/qt/aqt/mediasync.py @@ -63,7 +63,7 @@ class MediaSyncer: self._log_and_notify(tr(TR.SYNC_MEDIA_STARTING)) self._syncing = True self._progress_timer = self.mw.progress.timer( - 1000, self._on_progress, True, False + 1000, self._on_progress, True, True ) gui_hooks.media_sync_did_start_or_stop(True)