Skip to content

Commit

Permalink
Fix bug introduced in 8d7fdf0 #357, due to removal of keywords for ke…
Browse files Browse the repository at this point in the history
…yword arguments, closes #372
  • Loading branch information
jpmckinney committed Apr 28, 2020
1 parent 1d54674 commit f077936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kingfisher_scrapy/base_spider.py
Expand Up @@ -191,7 +191,7 @@ def parse_zipfile(self, response, data_type, file_format=None, encoding='utf-8')
if file_format == 'json_lines':
yield from self.parse_json_lines(data, data_type, response.request.url, encoding=encoding)
else:
yield self.save_data_to_disk(data.read(), filename, data_type, response.request.url,
yield self.save_data_to_disk(data.read(), filename, data_type=data_type, url=response.request.url,
encoding=encoding)
else:
yield {
Expand Down

0 comments on commit f077936

Please sign in to comment.