Fix never-ending import in Blocklist on Windows
This commit is contained in:
parent
afb12d7403
commit
36539cdd1d
@ -7,6 +7,7 @@ Deluge 1.1.0_RC2 (In Development)
|
|||||||
|
|
||||||
Plugins:
|
Plugins:
|
||||||
* Remove Stats plugin since it wasn't intended to be in this release
|
* 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)
|
Deluge 1.1.0_RC1 (23 December 2008)
|
||||||
Core:
|
Core:
|
||||||
|
|||||||
@ -173,6 +173,7 @@ class Core(CorePluginBase):
|
|||||||
self.core.export_block_ip_range(ips)
|
self.core.export_block_ip_range(ips)
|
||||||
self.num_blocked += 1
|
self.num_blocked += 1
|
||||||
ips = read_list.next()
|
ips = read_list.next()
|
||||||
|
read_list.close()
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.debug("Exception during import: %s", e)
|
log.debug("Exception during import: %s", e)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user