FineUploader / server-examples

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

Changed string-binary types where functions required it. #52

Closed andresespinosapc closed 6 years ago

andresespinosapc commented 8 years ago

I was getting errors like "Given 'str' where 'byte' was expected". Using encode() and decode() functions I converted strings into byte-arrays and viceversa where it was needed.

CLAassistant commented 8 years ago

CLA assistant check
All committers have signed the CLA.

rnicholus commented 8 years ago

Is this a Python 2 vs Python 3 issue? I gather you are using Python 3. What about those who are stuck w/ Python 2?

andresespinosapc commented 8 years ago

Sorry, I didn't noticed it. I don't have time right now to test it in Python 2 and create a solution for both versions, but when I can I'll do it.

rnicholus commented 8 years ago

Ok, I'll hold off on this until both Python 2 & 3 are able to be supported, especially since Python 2 seems to be more widely used. I suspect the current implementation does work in Python 2.

rnicholus commented 6 years ago

we should have a p3 example now