Apply suggestions from code review

This commit is contained in:
Andrey Rakhmatullin 2023-06-22 21:10:50 +04:00 committed by GitHub
parent 3f92882be4
commit e71d6d67e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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: