diff --git a/rowers/tpstuff.py b/rowers/tpstuff.py index 3263d109..49c6563e 100644 --- a/rowers/tpstuff.py +++ b/rowers/tpstuff.py @@ -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