From a1a82c96a5d9a6b78de1480b2aa5e0762ea710fc Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 30 Dec 2008 02:57:21 +0000 Subject: [PATCH] Do not continue to show 'Importing 0' progress bar if blocklist fails to import. --- deluge/plugins/blocklist/blocklist/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/plugins/blocklist/blocklist/core.py b/deluge/plugins/blocklist/blocklist/core.py index 62e972c23..d062b4b7f 100644 --- a/deluge/plugins/blocklist/blocklist/core.py +++ b/deluge/plugins/blocklist/blocklist/core.py @@ -170,6 +170,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: