This commit is contained in:
Jesse Bannon 2023-10-03 12:35:34 -07:00
parent 8d8c15e8e8
commit 2b01827e84

View file

@ -579,9 +579,7 @@ class EnhancedDownloadArchive:
file_name=self.file_name, output_file_name=self._migrated_file_name
)
# and delete the old one
self.delete_file_from_output_directory(
file_name=self.file_name
)
self.delete_file_from_output_directory(file_name=self.file_name)
# Otherwise, only save if there are changes to the transaction log
elif not self.get_file_handler_transaction_log().is_empty:
self._download_mapping.to_file(output_json_file=self.working_file_path)