Private
Public Access
1
0

small bug fixes

This commit is contained in:
Sander Roosendaal
2018-06-18 14:07:42 +02:00
parent 77e52ac9c1
commit 12bb31553b
2 changed files with 2 additions and 2 deletions

View File

@@ -3398,7 +3398,7 @@ def thumbnail_flex_chart(rowdata,id=0,promember=0,
try:
tseconds = rowdata.ix[:,'time']
except KeyError:
return '','No time data - cannot make flex plot','',''
return '','No time data - cannot make flex plot'
try:

View File

@@ -11305,7 +11305,7 @@ def workout_summary_edit_view(request,id,message="",successmessage=""
try:
avpace = datetime.timedelta(seconds=int(500./normv))
except:
avpage = datetime.timedelta(seconds=130)
avpace = datetime.timedelta(seconds=130)
data = {
'power': int(normp),