File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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:
132132 }
133133 url = (
134134 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"
137137 )
138138
139139 # Blocking loop to poll endpoint
@@ -175,7 +175,7 @@ def refresh_access_token(self) -> bool:
175175 }
176176 url = (
177177 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 } "
179179 )
180180 resp = self ._requests .post (url , headers = headers )
181181 if resp .status_code in {400 , 404 }:
You can’t perform that action at this time.
0 commit comments