fix
This commit is contained in:
@@ -58,6 +58,7 @@ def get_token(code): # pragma: no cover
|
||||
response = requests.post(url, auth=HTTPBasicAuth(oauth_data['client_id'], oauth_data['client_secret']),
|
||||
data=post_data)
|
||||
|
||||
|
||||
if response.status_code != 200:
|
||||
return [0, response.text, 0, 0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user