Private
Public Access
1
0

Merge tag 'deleteconfirm' into develop

raise error404 in a few places
This commit is contained in:
Sander Roosendaal
2017-02-13 22:37:45 +01:00
5 changed files with 196 additions and 48 deletions

View File

@@ -447,7 +447,12 @@ def get_username(access_token):
me_json = response.json()
return me_json['data']['username']
try:
res = me_json['data']['username']
except KeyError:
res = None
return res
# Get user id, having access token
# Handy for checking if the API access is working