underarmour return if not succesful
This commit is contained in:
@@ -142,6 +142,8 @@ def get_token(code):
|
|||||||
refresh_token = token_json['refresh_token']
|
refresh_token = token_json['refresh_token']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
thetoken = 0
|
thetoken = 0
|
||||||
|
expires_in = 30
|
||||||
|
refresh_token = ''
|
||||||
|
|
||||||
return thetoken,expires_in,refresh_token
|
return thetoken,expires_in,refresh_token
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user