mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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)
|
||||
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…
Add table
Reference in a new issue