Private
Public Access
1
0

added authorization link

This commit is contained in:
Sander Roosendaal
2017-04-21 15:05:59 +02:00
parent 3b6591c6ae
commit 35ce1c7049
4 changed files with 8 additions and 2 deletions

View File

@@ -1230,7 +1230,7 @@ def workout_tp_upload_view(request,id=0):
tcxfile = tpstuff.createtpworkoutdata(w)
if tcxfile:
res = tpstuff.uploadactivity(r.tptoken,tcxfile,
description=w.notes)
name=w.name)
if res == 0:
message = "Upload to TrainingPeaks failed"
w.uploadedtotp = -1