diff --git a/.gpx b/.gpx new file mode 100644 index 00000000..c2d010f0 --- /dev/null +++ b/.gpx @@ -0,0 +1,3 @@ + +Garmin InternationalExport by rowingdata + diff --git a/.tcx b/.tcx new file mode 100644 index 00000000..f3a5c6af --- /dev/null +++ b/.tcx @@ -0,0 +1,14 @@ + + + + + + 2015-03-28T20:45:15.000Z + + Empty File + 0 + 0 + + + + diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 9e652900..90d0ee2a 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -774,7 +774,10 @@ def interactive_histoall(theworkouts): if rowdata.empty: return "","No Valid Data Available","","" - histopwr = rowdata['power'].values + try: + histopwr = rowdata['power'].values + except KeyError: + return "","No power data","","" if len(histopwr) == 0: return "","No valid data available","",""