Do not continue to show 'Importing 0' progress bar if blocklist fails to
import.
This commit is contained in:
parent
bb4e7e38ae
commit
a1a82c96a5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue