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

@@ -239,7 +239,7 @@ def createstravaworkoutdata(w):
try:
row = rowingdata(filename)
tcxfilename = filename[:-4]+'.tcx'
row.exporttotcx(tcxfilename,notes=w.notes)
row.exporttotcx(tcxfilename,notes=w.notes+'\n from '+w.workoutsource+' via rowsandall.com')
gzfilename = tcxfilename+'.gz'
with file(tcxfilename,'rb') as inF:
s = inF.read()