removed test for existence of reliability in config from WikipediaParser init
This commit is contained in:
parent
bbc9abadb8
commit
806b816c30
@ -24,9 +24,6 @@ class WikipediaParser(Source):
|
||||
def __init__(self, config={}):
|
||||
Source.__init__(self, config)
|
||||
self.cfg = config
|
||||
if 'reliability' not in self.cfg or self.cfg['reliability'] == '':
|
||||
log.msg('Reliability not set for Wikipedia', level=log.WARNING)
|
||||
self.cfg['reliability'] = ''
|
||||
|
||||
def parse(self, response):
|
||||
""" Distributes the above described behaviour """
|
||||
|
Reference in New Issue
Block a user