Private
Public Access
1
0

mention error status in TP

This commit is contained in:
Sander Roosendaal
2017-05-04 08:07:50 +02:00
parent ee831ce88c
commit d703438fd2
3 changed files with 9 additions and 11 deletions

View File

@@ -245,9 +245,9 @@ def uploadactivity(access_token,filename,description='',
print ""
print headers
print ""
return 0
return 0,"ok",200
else:
return resp.json()[0]["Id"]
return resp.json()[0]["Id"],resp.reason,resp.status_code
return 0