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 error when trying to use r+ mode with GoogleCloudStorage #798

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

Fix error when trying to use r+ mode with GoogleCloudStorage #798

wants to merge 1 commit into from

Conversation

Q-back
Copy link

@Q-back Q-back commented Dec 6, 2019

When I was trying to open a file using with open(filename, 'r+b') as file: I got AttributeError("File was not opened in write mode.") when I tried to write to the file. Currently in my project I override GoogleCloudStorage and this simple fix works.

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.

1 participant