Skip to content

Commit

Permalink
Make sure to copy correct file
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Apr 11, 2024
1 parent 91ab7bc commit 480a378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wacz/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def create_wacz(res):
if res.copy_pages:
print("Copying passed pages.jsonl file to WACZ")
if validate_pages_jsonl_file(res.extra_pages):
with open(res.pages, "rb") as fh:
with open(res.extra_pages, "rb") as fh:
with wacz.open(extra_pages_jsonl, "w") as extra_pages_file:
shutil.copyfileobj(fh, extra_pages_file)
else:
Expand Down

0 comments on commit 480a378

Please sign in to comment.