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