diff --git a/rowers/views.py b/rowers/views.py index a2558be9..bc42b34d 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -8480,11 +8480,11 @@ def workout_flexchart3_view(request,*args,**kwargs): reststrokes = not workstrokesonly r = getrower(request.user) try: - r = metrics.yaxmaxima[xparam] + range = metrics.yaxmaxima[xparam] if yparam1 is not None: - r = metrics.yaxmaxima[yparam1] + range = metrics.yaxmaxima[yparam1] if yparam2 is not None: - r = metrics.yaxmaxima[yparam2] + range = metrics.yaxmaxima[yparam2] f = FavoriteChart(user=r,xparam=xparam, yparam1=yparam1,yparam2=yparam2, plottype=plottype,workouttype=workouttype,