Skip to content

Commit cf58f81

Browse files
author
Eric Koleda
authored
Merge pull request #146 from sfujiwara/patch-1
cache_discovery to be False
2 parents db84af0 + eaacf79 commit cf58f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydrive/auth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def Authorize(self):
520520
if self.access_token_expired:
521521
raise AuthenticationError('No valid credentials provided to authorize')
522522
self.http = self.credentials.authorize(self.http)
523-
self.service = build('drive', 'v2', http=self.http)
523+
self.service = build('drive', 'v2', http=self.http, cache_discovery=False)
524524

525525
def Get_Http_Object(self):
526526
"""Create and authorize an httplib2.Http object. Necessary for

0 commit comments

Comments
 (0)