blocklist doesn't config every load

This commit is contained in:
Zach Tibbitts 2007-06-28 00:51:14 +00:00
parent b0e047368c
commit aa6b522036
1 changed files with 5 additions and 3 deletions

View File

@ -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'))