added authorization link
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user