Private
Public Access
1
0

Merge branch 'hotfix/v10.02'

This commit is contained in:
Sander Roosendaal
2019-06-26 12:10:20 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -696,8 +696,11 @@ def get_userid(access_token):
'Content-Type': 'application/json'}
import urllib
url = "https://log.concept2.com/api/users/me"
response = requests.get(url,headers=headers)
try:
response = requests.get(url,headers=headers)
except:
return 0
me_json = response.json()
try:

Binary file not shown.