Skip to content

Commit

Permalink
Compress the files instead of just storing them uncompressed
Browse files Browse the repository at this point in the history
  • Loading branch information
Z1ni committed Jul 28, 2024
1 parent 5569ead commit dc0d98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def main():
zip_name = "{}_{}_{}.zip".format(
formatted_game_name, xbox_username_or_id, timestamp
)
with zipfile.ZipFile(zip_name, "x") as save_zip:
with zipfile.ZipFile(zip_name, "x", zipfile.ZIP_DEFLATED) as save_zip:
for file_name, file_path in save_paths:
save_zip.write(file_path, arcname=file_name)

Expand Down

0 comments on commit dc0d98f

Please sign in to comment.