Skip to content

Commit

Permalink
Test fix for zipfile compression
Browse files Browse the repository at this point in the history
  • Loading branch information
zschira committed Feb 6, 2024
1 parent 45cdd1e commit e69439e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pudl_archiver/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ def add_to_archive_stable_hash(archive: zipfile.ZipFile, filename, data: bytes):
# Set fixed date to enable hash comparisons between archives
date_time=(1980, 1, 1, 0, 0, 0),
)
info.compress_type = zipfile.ZIP_DEFLATED
archive.writestr(info, data)

0 comments on commit e69439e

Please sign in to comment.