Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Issue uploading files with a unicode filename #145

Open
albrnick opened this issue Jan 7, 2019 · 0 comments
Open

Issue uploading files with a unicode filename #145

albrnick opened this issue Jan 7, 2019 · 0 comments

Comments

@albrnick
Copy link

albrnick commented Jan 7, 2019

I had an issue where my script was using unicode literals, and the .files.upload wasn't uploading the file properly.

Turns out the filename string was in unicode, and in init.py, line 613:

        if isinstance(file_, str):

It's just testing for str, and not str and unicode.

If you changed that to detect str and unicode, I believe it would work! :)

Thanks!
Nick

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant