From 6523fdd49d50bd3220273ee804910bffbbe4f302 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Thu, 4 May 2017 09:05:52 +0200 Subject: [PATCH] removing headers info --- rowers/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/views.py b/rowers/views.py index 1238f13a..6d1d14c3 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -1247,7 +1247,7 @@ def workout_tp_upload_view(request,id=0): res,reason,status_code,headers = tpstuff.uploadactivity(r.tptoken,tcxfile, name=w.name) if res == 0: - message = "Upload to TrainingPeaks failed with status code "+str(status_code)+": "+reason+"\n"+json.dumps(headers) + message = "Upload to TrainingPeaks failed with status code "+str(status_code)+": "+reason w.uploadedtotp = -1 w.save() try: