Private
Public Access
1
0

exports workout source to major fitness sites in notes

This commit is contained in:
Sander Roosendaal
2017-05-02 14:11:42 +02:00
parent 0d04132c3c
commit e711080269
8 changed files with 10 additions and 9 deletions

View File

@@ -1314,7 +1314,7 @@ def workout_strava_upload_view(request,id=0):
with open(tcxfile,'rb') as f:
res,mes = stravastuff.handle_stravaexport(f,w.name,
r.stravatoken,
description=w.notes)
description=w.notes+'\n from '+w.workoutsource+' via rowsandall.com')
if res==0:
message = mes
w.uploadedtostrava = -1