From bc21b787a3c592b01015e66d43d630f23d50a301 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 6 Nov 2020 22:13:43 +0100 Subject: [PATCH] strava chart --- rowers/interactiveplots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index cfbb90cc..b1bb3a9b 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -4448,12 +4448,12 @@ def interactive_flexchart_stacked(id,r,xparam='time', row = Workout.objects.get(id=id) if rowdata.empty: - return "","No valid data",'','' + return "","No valid data",'','',comment try: tseconds = rowdata.loc[:,'time'] except KeyError: - return '','No time data - cannot make flex plot','','' + return '','No time data - cannot make flex plot','','',comment try: rowdata['x1'] = rowdata.loc[:,xparam]