mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-10 02:18:41 +00:00
Fix never-ending import in Blocklist on Windows
This commit is contained in:
parent
afb12d7403
commit
36539cdd1d
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue