cenkalti / putio.py

A python wrapper for put.io APIv2
http://put.io
MIT License
72 stars 41 forks source link

non-ASCII characters throw exception - Fixes #21 #22

Closed datashaman closed 8 years ago

datashaman commented 8 years ago

Create empty file if size is 0, otherwise nothing is written Remove encode call so non-ASCII filenames work

I've included a tests.py so you can easily check the results.

cenkalti commented 8 years ago

Thanks :+1:

cenkalti commented 8 years ago

Updated on PyPI: https://pypi.python.org/pypi/putio.py/2.4.2