bug fix
This commit is contained in:
@@ -2168,6 +2168,7 @@ def workout_view(request,id=0,raceresult=0):
|
|||||||
row = get_workout_by_opaqueid(request,id)
|
row = get_workout_by_opaqueid(request,id)
|
||||||
f1 = row.csvfilename
|
f1 = row.csvfilename
|
||||||
rowdata = rdata(f1)
|
rowdata = rdata(f1)
|
||||||
|
summary = row.summary
|
||||||
|
|
||||||
comments = WorkoutComment.objects.filter(workout=row)
|
comments = WorkoutComment.objects.filter(workout=row)
|
||||||
|
|
||||||
@@ -2203,8 +2204,7 @@ def workout_view(request,id=0,raceresult=0):
|
|||||||
activewindow = [startsecond,endsecond])
|
activewindow = [startsecond,endsecond])
|
||||||
summary = rowdata.allstats()
|
summary = rowdata.allstats()
|
||||||
except VirtualRaceResult.DoesNotExist:
|
except VirtualRaceResult.DoesNotExist:
|
||||||
summary = row.summary
|
pass
|
||||||
|
|
||||||
# create interactive plot
|
# create interactive plot
|
||||||
res = interactive_chart(encoder.decode_hex(id),intervaldata=intervaldata)
|
res = interactive_chart(encoder.decode_hex(id),intervaldata=intervaldata)
|
||||||
script = res[0]
|
script = res[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user