Skip to content

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

Open
tgal wants to merge 1 commit into
haiwen:masterfrom
tgal:fix-open-binary-file
Open

fix small bug: files must be opened in binary mode#16
tgal wants to merge 1 commit into
haiwen:masterfrom
tgal:fix-open-binary-file

Conversation

@tgal

@tgal tgal commented Mar 31, 2020

Copy link
Copy Markdown

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

monofox commented Nov 21, 2021

Copy link
Copy Markdown

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

MaNyh commented Feb 20, 2024

Copy link
Copy Markdown

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