mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix never-ending import in Blocklist on Windows
This commit is contained in:
parent
5cdd1146d1
commit
f5a6736617
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ class Core(CorePluginBase):
|
||||||
self.core.block_ip_range(ips)
|
self.core.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