Private
Public Access
1
0

error checking around notes saved with interval editor

This commit is contained in:
Sander Roosendaal
2017-02-28 16:56:37 +01:00
parent 889f0f19cd
commit 39f8ad1c77

View File

@@ -4990,9 +4990,10 @@ def workout_summary_edit_view(request,id,message="",successmessage=""
itime,idist,itype = rowdata.intervalstats_values()
nrintervals = len(idist)
row.summary = intervalstats
#intervalstats = rowdata.allstats()
row.notes += u'{n} \n {s}'.format(
n = row.notes,
#intervalstats = rowdata.allstats()
if s:
row.notes += u'{n} \n {s}'.format(
n = row.notes,
s = s
)
row.save()