Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Apply suggestions from code review

Andrey Rakhmatulline71d6d67e56e
diff --git a/scrapy/extensions/feedexport.py b/scrapy/extensions/feedexport.py
index 7e93bc366..d088450a7 100644
--- a/scrapy/extensions/feedexport.py
+++ b/scrapy/extensions/feedexport.py
@@ -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: