Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

fixed TypeError in django example #56

Merged
merged 1 commit into from
Nov 17, 2016

Conversation

alesdotio
Copy link
Contributor

'qqtotalparts' defaults to null in the javascript

'qqtotalparts' defaults to null in the javascript
@CLAassistant
Copy link

CLAassistant commented Nov 17, 2016

CLA assistant check
All committers have signed the CLA.

@rnicholus
Copy link
Member

that parameter should never be null for chunked requests

@alesdotio
Copy link
Contributor Author

it's null when it's not a chunked request, so int(None) raises a TypeError

@rnicholus
Copy link
Member

Ah, I see. The bug was in the logic that determines if the request was chunked or not. Thanks!

@rnicholus rnicholus merged commit 510bf10 into FineUploader:master Nov 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants