Merge branch 'release/v12.82'
This commit is contained in:
@@ -121,7 +121,7 @@ def tp_check(access_token):
|
|||||||
}
|
}
|
||||||
|
|
||||||
resp = requests.post(tpapilocation+"/v1/info/version",
|
resp = requests.post(tpapilocation+"/v1/info/version",
|
||||||
headers=headers)
|
headers=headers,verify=False)
|
||||||
|
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
@@ -155,7 +155,7 @@ def uploadactivity(access_token,filename,description='',
|
|||||||
|
|
||||||
resp = requests.post(tpapilocation+"/v1/file",
|
resp = requests.post(tpapilocation+"/v1/file",
|
||||||
data = json.dumps(data),
|
data = json.dumps(data),
|
||||||
headers=headers)
|
headers=headers,verify=False)
|
||||||
|
|
||||||
if resp.status_code != 200:
|
if resp.status_code != 200:
|
||||||
return 0,resp.reason,resp.status_code,headers
|
return 0,resp.reason,resp.status_code,headers
|
||||||
|
|||||||
Reference in New Issue
Block a user