Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix small bug: files must be opened in binary mode #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tgal
Copy link

@tgal tgal commented Mar 31, 2020

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

@tgal tgal mentioned this pull request Apr 2, 2020
@monofox
Copy link

monofox commented Nov 21, 2021

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!

@MaNyh
Copy link

MaNyh commented Feb 20, 2024

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

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

Successfully merging this pull request may close these issues.

3 participants