Skip to content

Commit 64dece9

Browse files
Alex Swehlaposita
authored andcommitted
fix linting issue
1 parent 299532d commit 64dece9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dropbox/oauth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ def _finish(self, code, redirect_uri):
120120
resp.raise_for_status()
121121

122122
d = resp.json()
123-
124-
access_token = d['access_token']
125-
uid = d['uid']
123+
126124
if 'team_id' in d:
127125
account_id = d['team_id']
128126
else:
129127
account_id = d['account_id']
130128

129+
access_token = d['access_token']
130+
uid = d['uid']
131131

132132
return OAuth2FlowNoRedirectResult(
133133
access_token,

0 commit comments

Comments
 (0)