diff options
Diffstat (limited to 'readactivity.py')
-rw-r--r-- | readactivity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readactivity.py b/readactivity.py index e2101de..6196f1b 100644 --- a/readactivity.py +++ b/readactivity.py @@ -272,8 +272,6 @@ class ReadActivity(activity.Activity): getter.connect("progress", self._download_progress_cb, tube_id) getter.connect("error", self._download_error_cb, tube_id) _logger.debug("Starting download to %s...", self._jobject.file_path) - # Avoid trying to download the document multiple times at once - self._want_document = False getter.start(self._jobject.file_path) return False @@ -294,6 +292,8 @@ class ReadActivity(activity.Activity): e) return False + # Avoid trying to download the document multiple times at once + self._want_document = False gobject.idle_add(self._download_document, tube_id) return False |