Skip to content

Commit

Permalink
Merge pull request #47 from MITLibraries/bugfix
Browse files Browse the repository at this point in the history
Fix file open bug for s3
  • Loading branch information
hakbailey authored Jan 24, 2023
2 parents 449c1f4 + 140f348 commit 7c88a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transmogrifier/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def parse_xml_records(


def write_deleted_records_to_file(deleted_records: list[str], output_file_path: str):
with open(output_file_path, "a") as file:
with open(output_file_path, "w") as file:
for record_id in deleted_records:
file.write(f"{record_id}\n")

Expand Down

0 comments on commit 7c88a42

Please sign in to comment.