Private
Public Access
1
0

Merge tag 'v1.24' into develop

v1.24
This commit is contained in:
Sander Roosendaal
2017-02-25 20:02:52 +01:00

View File

@@ -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']