This commit is contained in:
Felipe Boff Nunes 2023-04-10 12:30:00 -03:00
parent a0e2e36b52
commit 23017e6e92
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ class FeedExporter:
def _close_slot(self, slot, spider):
def get_file(slot_):
if isinstance(slot_.file, PostProcessingManager):
slot_.file.close()
return slot_.file.file
return slot_.file