Merge tag 'v1.24' into develop
v1.24
This commit is contained in:
@@ -354,7 +354,10 @@ def get_token(code):
|
||||
try:
|
||||
status_code = token_json['status_code']
|
||||
except KeyError:
|
||||
status_code = token_json.status_code
|
||||
try:
|
||||
status_code = token_json.status_code
|
||||
except AttributeError:
|
||||
return (0,'Attribute Error on c2_get_token')
|
||||
|
||||
if status_code == 200:
|
||||
thetoken = token_json['access_token']
|
||||
|
||||
Reference in New Issue
Block a user