Private
Public Access
1
0

more verify false for tp

This commit is contained in:
Sander Roosendaal
2020-06-06 18:37:27 +02:00
parent 5aa6d89891
commit ea4ef1ff84

View File

@@ -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