Merge branch 'release/v20.3.7'
This commit is contained in:
@@ -5786,7 +5786,7 @@ def interactive_flex_chart2(id, r, promember=0,
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
_ = rowdata[yparam1]
|
_ = rowdata[yparam1]
|
||||||
except KeyError: # pragma: no cover
|
except (TypeError, KeyError): # pragma: no cover
|
||||||
yparam1 = 'None'
|
yparam1 = 'None'
|
||||||
|
|
||||||
# test if we have drive energy
|
# test if we have drive energy
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -1656,9 +1656,12 @@ def course_compare_view(request, id=0):
|
|||||||
except Workout.DoesNotExist: # pragma: no cover
|
except Workout.DoesNotExist: # pragma: no cover
|
||||||
pass
|
pass
|
||||||
|
|
||||||
labeldict = {
|
try:
|
||||||
int(w.id): w.__str__() for w in workouts
|
labeldict = {
|
||||||
}
|
int(w.id): w.__str__() for w in workouts
|
||||||
|
}
|
||||||
|
except:
|
||||||
|
labeldict = {}
|
||||||
|
|
||||||
res = interactive_multiple_compare_chart(workoutids, xparam, yparam,
|
res = interactive_multiple_compare_chart(workoutids, xparam, yparam,
|
||||||
promember=promember,
|
promember=promember,
|
||||||
@@ -1758,8 +1761,10 @@ def virtualevent_compare_view(request, id=0):
|
|||||||
|
|
||||||
return HttpResponseRedirect(url)
|
return HttpResponseRedirect(url)
|
||||||
|
|
||||||
|
xparam = 'time'
|
||||||
|
yparam = 'pace'
|
||||||
|
|
||||||
if request.method == 'GET':
|
if request.method == 'GET':
|
||||||
xparam = 'time'
|
|
||||||
if race.sessionmode == 'distance':
|
if race.sessionmode == 'distance':
|
||||||
xparam = 'cumdist'
|
xparam = 'cumdist'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user