Fix item exporter example

Fixes #3398
This commit is contained in:
Adrián Chaves 2019-09-17 09:04:12 +02:00 committed by GitHub
parent e22a8c8c36
commit b854da1d01
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']