Fix never-ending import in Blocklist on Windows
This commit is contained in:
parent
5cdd1146d1
commit
f5a6736617
|
@ -179,6 +179,7 @@ class Core(CorePluginBase):
|
|||
self.core.block_ip_range(ips)
|
||||
self.num_blocked += 1
|
||||
ips = read_list.next()
|
||||
read_list.close()
|
||||
except Exception, e:
|
||||
log.debug("Exception during import: %s", e)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue