From 6e63b17bffcfcfb9246a43eda53c95eb791b7e3d Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Thu, 4 May 2017 08:33:52 +0200 Subject: [PATCH] bug fix --- rowers/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/views.py b/rowers/views.py index 6b942cf1..96fcf203 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 = tpstuff.uploadactivity(r.tptoken,tcxfile, name=w.name) if res == 0: - message = "Upload to TrainingPeaks failed with status code "+status_code+": "+reason + message = "Upload to TrainingPeaks failed with status code "+str(status_code)+": "+reason w.uploadedtotp = -1 w.save() try: