Skip to content

Commit

Permalink
Change arguments order in auth.service_account()
Browse files Browse the repository at this point in the history
  • Loading branch information
burnash committed Apr 28, 2020
1 parent 5516b0b commit d97b68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gspread/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def oauth(scopes=DEFAULT_SCOPES, flow=local_server_flow):


def service_account(
scopes=DEFAULT_SCOPES,
filename=DEFAULT_SERVICE_ACCOUNT_FILENAME
filename=DEFAULT_SERVICE_ACCOUNT_FILENAME,
scopes=DEFAULT_SCOPES
):
creds = ServiceAccountCredentials.from_service_account_file(
filename,
Expand Down

0 comments on commit d97b68c

Please sign in to comment.