fixed config errors due to merge with develop
This commit is contained in:
parent
830b785b0a
commit
8836cdf16b
@ -21,8 +21,9 @@ class PubChem(Source):
|
||||
__spider = None
|
||||
searched_compounds = set()
|
||||
|
||||
def __init__(self):
|
||||
Source.__init__(self)
|
||||
def __init__(self, config):
|
||||
Source.__init__(self, config)
|
||||
self.cfg = config
|
||||
|
||||
def parse(self, response):
|
||||
""" Distributes the above described behaviour """
|
||||
@ -88,4 +89,4 @@ class PubChem(Source):
|
||||
|
||||
|
||||
def new_compound_request(self, compound):
|
||||
return Request(url=self.website_www[:-1] + self.search % compound, callback=self.parse)
|
||||
return Request(url=self.website_www[:-1] + self.search % compound, callback=self.parse)
|
||||
|
Reference in New Issue
Block a user