File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,8 @@ def wait_for_authorization(self) -> bool:
132
132
}
133
133
url = (
134
134
f"https://oauth2.googleapis.com/token?client_id={ self ._client_id } "
135
- f"&client_secret={ self ._client_secret } &device_code={ self ._device_code } "
136
- "&grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Adevice_code"
135
+ + f"&client_secret={ self ._client_secret } &device_code={ self ._device_code } "
136
+ + "&grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Adevice_code"
137
137
)
138
138
139
139
# Blocking loop to poll endpoint
@@ -175,7 +175,7 @@ def refresh_access_token(self) -> bool:
175
175
}
176
176
url = (
177
177
f"https://oauth2.googleapis.com/token?client_id={ self ._client_id } &client_secret={ self ._client_secret } "
178
- f"&grant_type=refresh_token&refresh_token={ self .refresh_token } "
178
+ + f"&grant_type=refresh_token&refresh_token={ self .refresh_token } "
179
179
)
180
180
resp = self ._requests .post (url , headers = headers )
181
181
if resp .status_code in {400 , 404 }:
You can’t perform that action at this time.
0 commit comments