Private
Public Access
1
0

Merge branch 'release/v12.82'

This commit is contained in:
Sander Roosendaal
2020-06-06 18:37:57 +02:00

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