Fix never-ending import in Blocklist on Windows

This commit is contained in:
Andrew Resch 2008-12-26 22:45:43 +00:00
parent afb12d7403
commit 36539cdd1d
2 changed files with 2 additions and 0 deletions

View file

@ -7,6 +7,7 @@ Deluge 1.1.0_RC2 (In Development)
Plugins:
* Remove Stats plugin since it wasn't intended to be in this release
* Fix never-ending import in Blocklist on Windows
Deluge 1.1.0_RC1 (23 December 2008)
Core:

View file

@ -173,6 +173,7 @@ class Core(CorePluginBase):
self.core.export_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: