mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
blocklist doesn't config every load
This commit is contained in:
parent
b0e047368c
commit
aa6b522036
1 changed files with 5 additions and 3 deletions
|
@ -63,9 +63,11 @@ class BlocklistImport:
|
||||||
global_defaults=False)
|
global_defaults=False)
|
||||||
self.config.load()
|
self.config.load()
|
||||||
|
|
||||||
if not self.config.has_key('url'):
|
# if not self.config.has_key('url'):
|
||||||
self.configure()
|
# self.configure()
|
||||||
else:
|
# else:
|
||||||
|
# self.loadlist(fetch=self.config.get('load_on_start'))
|
||||||
|
if self.config.has_key('url'):
|
||||||
self.loadlist(fetch=self.config.get('load_on_start'))
|
self.loadlist(fetch=self.config.get('load_on_start'))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue