Private
Public Access
1
0

hotfix flexall

This commit is contained in:
Sander Roosendaal
2017-05-22 07:33:46 +02:00
parent a32dcdccb4
commit 99f3ad968d

View File

@@ -1090,7 +1090,10 @@ def interactive_cum_flex_chart2(theworkouts,promember=0,
try:
datadf['y1'] = datadf.ix[:,yparam1]
except KeyError:
datadf['y1'] = datadf['pace']
try:
datadf['y1'] = datadf['pace']
except KeyError:
return ['','<p>No non-zero data in selection</p>,'','']
if yparam2 != 'None':
try:
datadf['y2'] = datadf.ix[:,yparam2]