nothing
This commit is contained in:
@@ -217,7 +217,7 @@ def uploadactivity(access_token,filename,description='',
|
||||
|
||||
|
||||
headers = {
|
||||
"Content-Type": "application/json",
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json',
|
||||
'Authorization': 'Bearer %s' % access_token
|
||||
}
|
||||
@@ -247,6 +247,8 @@ def uploadactivity(access_token,filename,description='',
|
||||
print ""
|
||||
return 0,resp.reason,resp.status_code,headers
|
||||
else:
|
||||
print headers
|
||||
print json.dumps(headers)
|
||||
return resp.json()[0]["Id"],"ok",200,""
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user