Do not continue to show 'Importing 0' progress bar if blocklist fails to

import.
This commit is contained in:
Andrew Resch 2008-12-30 02:57:21 +00:00
parent bb4e7e38ae
commit a1a82c96a5
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ class Core(CorePluginBase):
read_list = FORMATS[self.config["listtype"]][1](bl_file) read_list = FORMATS[self.config["listtype"]][1](bl_file)
except Exception, e: except Exception, e:
log.debug("Unable to read blocklist file: %s", e) log.debug("Unable to read blocklist file: %s", e)
self.is_importing = False
return return
try: try: