Skip to content

Conversation

casperdcl
Copy link
Contributor

@casperdcl casperdcl commented May 6, 2020

Odd that there are no tests which picked up on this.

@casperdcl casperdcl requested a review from shcheklein May 6, 2020 15:53
@casperdcl casperdcl self-assigned this May 6, 2020
@casperdcl casperdcl added the bug Something isn't working label May 6, 2020
@shcheklein shcheklein merged commit 269c92b into master May 6, 2020
@casperdcl
Copy link
Contributor Author

actually they should have picked up on this:

file2 = drive.CreateFile({"id": file1["id"]}) # Download file from id.
pydrive_retry(lambda: file2.GetContentFile(self.first_file + "2"))

@casperdcl
Copy link
Contributor Author

no - re-used drive object already authenticated. New test required to prevent regression.

@casperdcl casperdcl deleted the auth-fix branch May 6, 2020 16:24
casperdcl added a commit that referenced this pull request May 6, 2020
prevents regression (#31)

- continues #32
@casperdcl casperdcl mentioned this pull request May 6, 2020
2 tasks
shcheklein pushed a commit that referenced this pull request May 6, 2020
prevents regression (#31)

- continues #32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

file.GetContentFile(...) throws AttributeError as of version 1.4.11

2 participants