Skip to content

Commit

Permalink
Ensure values are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Aug 5, 2023
1 parent 17a6392 commit 3805f6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions diskimageprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ def create_aspace_excel_sheet(args, sips, volumes, logger):
)
)

row_to_write[INDEX_DATE_START] = date_earliest[:4]
row_to_write[INDEX_DATE_END] = date_latest[:4]
row_to_write[INDEX_EXTENT_NUMBER] = file_count
row_to_write[INDEX_DATE_START] = str(date_earliest[:4])
row_to_write[INDEX_DATE_END] = str(date_latest[:4])
row_to_write[INDEX_EXTENT_NUMBER] = str(file_count)
row_to_write[INDEX_EXTENT_TYPE] = "digital files"
row_to_write[INDEX_SIZE] = human_readable_size(total_bytes)
row_to_write[INDEX_SIZE] = str(human_readable_size(total_bytes))
row_to_write[INDEX_SCOPE_CONTENTS] = scope_content

# TODO: Remove temporary dev logging
Expand Down

0 comments on commit 3805f6e

Please sign in to comment.