Private
Public Access
1
0

removing unencoded links to workout from templates

This commit is contained in:
Sander Roosendaal
2019-02-14 10:40:58 +01:00
parent e1aea90651
commit 5b2fbfcee0
41 changed files with 127 additions and 114 deletions

View File

@@ -192,7 +192,10 @@ def summaryfromsplitdata(splitdata,data,filename,sep='|'):
totaldist = data['distance']
totaltime = data['time']/10.
spm = data['stroke_rate']
try:
spm = data['stroke_rate']
except KeyError:
spm = 0
try:
resttime = data['rest_time']/10.
except KeyError: