Private
Public Access
1
0

runkeeper

This commit is contained in:
Sander Roosendaal
2017-05-04 20:04:13 +02:00
parent 520932eb0a
commit 55dd98cbae

View File

@@ -274,7 +274,10 @@ def get_userid(access_token):
response = requests.get(url,headers=headers)
me_json = response.json()
try:
me_json = response.json()
except:
return 0
try:
res = me_json['userID']