mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
blocklist doesn't config every load
This commit is contained in:
parent
b0e047368c
commit
aa6b522036
@ -63,9 +63,11 @@ class BlocklistImport:
|
||||
global_defaults=False)
|
||||
self.config.load()
|
||||
|
||||
if not self.config.has_key('url'):
|
||||
self.configure()
|
||||
else:
|
||||
# if not self.config.has_key('url'):
|
||||
# self.configure()
|
||||
# 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'))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user