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

Fixes the interrupted property #438

Closed
wants to merge 1 commit into from
Closed

Fixes the interrupted property #438

wants to merge 1 commit into from

Conversation

fbidu
Copy link

@fbidu fbidu commented Jan 30, 2016

Inside the Download class, interrupted evaluated to True if the downloaded size was different than the total_size. This caused bug #423 where gzipped files where considered "incomplete" even though the download was successful.

This simple PR only changes the way that the interrupted property is evaluated - depending on downloaded being less than total size and not just different

@fbidu
Copy link
Author

fbidu commented Jan 30, 2016

This fix still leaves room for error. I'll do another fix.

@fbidu fbidu closed this Jan 30, 2016
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.

1 participant