Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close ZIP once finished #21

Merged
merged 2 commits into from
Apr 15, 2022
Merged

Close ZIP once finished #21

merged 2 commits into from
Apr 15, 2022

Conversation

edsu
Copy link
Collaborator

@edsu edsu commented Apr 15, 2022

It is important to close the ZIP once data is finished being written to
the WACZ or else some of the data may not be flushed to disk. This is
probably more important for usage of py-wacz as a library since the file
would automatically get flushed when it is used from the command line.

Fixes #20

edsu added 2 commits April 15, 2022 12:19
It is important to close the ZIP once data is finished being written to
the WACZ or else some of the data may not be flushed to disk. This is
probably more important for usage of py-wacz as a library since the file
would automatically get flushed when it is used from the command line.

Fixes webrecorder#20
@codecov
Copy link

codecov bot commented Apr 15, 2022

Codecov Report

Merging #21 (50599d0) into main (4c93fcd) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   81.10%   81.19%   +0.08%     
==========================================
  Files           4        4              
  Lines         651      654       +3     
  Branches      128      144      +16     
==========================================
+ Hits          528      531       +3     
  Misses         79       79              
  Partials       44       44              
Impacted Files Coverage Δ
wacz/main.py 88.19% <100.00%> (+0.14%) ⬆️
wacz/util.py 96.22% <0.00%> (+0.07%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@ikreymer
Copy link
Member

Thanks! I haven't been able to repro this yet, but if it fixes for you locally, that's great!

@ikreymer ikreymer merged commit f5639d9 into webrecorder:main Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure under Python 3.10
2 participants