diff options
author | Andrew Resch <andrewresch@gmail.com> | 2008-12-30 02:57:21 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2008-12-30 02:57:21 +0000 |
commit | df30d4b5c9671e7f758465de9f9ee8b012df292e (patch) | |
tree | 26410648c192a1e62186954eba589818f5ce6a57 | |
parent | 0296f6c6e9c63efeecc87cf9c5c504db92868b05 (diff) | |
download | deluge-df30d4b5c9671e7f758465de9f9ee8b012df292e.tar.gz deluge-df30d4b5c9671e7f758465de9f9ee8b012df292e.tar.bz2 deluge-df30d4b5c9671e7f758465de9f9ee8b012df292e.zip |
Do not continue to show 'Importing 0' progress bar if blocklist fails to
import.
-rw-r--r-- | deluge/plugins/blocklist/blocklist/core.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/plugins/blocklist/blocklist/core.py b/deluge/plugins/blocklist/blocklist/core.py index e7126f521..0e795166f 100644 --- a/deluge/plugins/blocklist/blocklist/core.py +++ b/deluge/plugins/blocklist/blocklist/core.py @@ -164,6 +164,7 @@ class Core(CorePluginBase): read_list = FORMATS[self.config["listtype"]][1](bl_file) except Exception, e: log.debug("Unable to read blocklist file: %s", e) + self.is_importing = False return try: |