python-seafile icon indicating copy to clipboard operation
python-seafile copied to clipboard

fix small bug: files must be opened in binary mode

Open tgal opened this issue 4 years ago • 2 comments

When the file is opened in text mode we get a UnicodeDecodeError. With this change all works fine.

tgal avatar Mar 31 '20 19:03 tgal

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!

monofox avatar Nov 21 '21 15:11 monofox

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

MaNyh avatar Feb 20 '24 23:02 MaNyh