python-seafile
python-seafile copied to clipboard
fix small bug: files must be opened in binary mode
When the file is opened in text mode we get a UnicodeDecodeError. With this change all works fine.
Hey @freeplant ,
can this be merged please? Its even not possible to upload a proper PDF file in python 3 without this patch and this patch is already > 1 year old...
Thank you!
I am trying to upload a singularity container via a gitlab cicd. I am using this commit too. It should be possible to upload these files. Please consider merging this solution