FineUploader / server-examples

Server-side examples for the Fine Uploader library
https://fineuploader.com
MIT License
279 stars 204 forks source link

fixed TypeError in django example #56

Closed alesdotio closed 7 years ago

alesdotio commented 7 years ago

'qqtotalparts' defaults to null in the javascript

CLAassistant commented 7 years ago

CLA assistant check
All committers have signed the CLA.

rnicholus commented 7 years ago

that parameter should never be null for chunked requests

alesdotio commented 7 years ago

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

rnicholus commented 7 years ago

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