Private
Public Access
1
0

fixed bokeh bug for workouts with no spm

This commit is contained in:
Sander Roosendaal
2018-05-17 13:07:53 +02:00
parent 0e1155fe60
commit 6a50df6bae

View File

@@ -2135,6 +2135,11 @@ def interactive_chart(id=0,promember=0):
except KeyError:
return "","No valid data available"
try:
spm = datadf['spm']
except KeyError:
datadf['spm'] = 0*datadf['pace']
#datadf,row = dataprep.getrowdata_db(id=id)
#if datadf.empty:
#return "","No Valid Data Available"