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: