Skip to content

Commit

Permalink
Fix credentials creation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblum committed Apr 12, 2016
1 parent 0ffb843 commit b35d4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchestra/google_apps/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _create_drive_service(self, google_p12_path,
credentials = ServiceAccountCredentials.from_p12_keyfile(
google_service_email,
google_p12_path,
'https://www.googleapis.com/auth/drive')
scopes=['https://www.googleapis.com/auth/drive'])
http_auth = credentials.authorize(Http())
return build('drive', 'v2', http=http_auth)

Expand Down

0 comments on commit b35d4bb

Please sign in to comment.