Fix the item exporter example (#4022)

This commit is contained in:
Adrián Chaves 2019-09-19 09:17:23 +02:00 committed by GitHub
parent 0b52fa6ca9
commit 9b65f9aa5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ value of one of their fields::
def close_spider(self, spider):
for exporter in self.year_to_exporter.values():
exporter.finish_exporting()
exporter.file.close()
def _exporter_for_item(self, item):
year = item['year']