mirror of https://github.com/scrapy/scrapy.git
Apply suggestions from code review
This commit is contained in:
parent
3f92882be4
commit
e71d6d67e5
|
|
@ -439,10 +439,10 @@ class FeedExporter:
|
|||
return slot_.file
|
||||
|
||||
if slot.itemcount:
|
||||
# Nomal case
|
||||
# Normal case
|
||||
slot.finish_exporting()
|
||||
elif slot.store_empty and slot.batch_id == 1:
|
||||
# Need Store Empty
|
||||
# Need to store the empty file
|
||||
slot.start_exporting()
|
||||
slot.finish_exporting()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue