Private
Public Access
1
0

Merge branch 'release/v11.98'

This commit is contained in:
Sander Roosendaal
2020-03-24 22:05:55 +01:00

View File

@@ -624,7 +624,11 @@ def do_refresh_token(refreshtoken):
response = s.send(prepped)
token_json = response.json()
try:
token_json = response.json()
except JSONDecodeError:
return [None,None,None]
try:
thetoken = token_json['access_token']
expires_in = token_json['expires_in']