Private
Public Access
1
0

small bugfix

This commit is contained in:
Sander Roosendaal
2018-12-12 08:51:42 +01:00
parent fcf828e4d9
commit 3a06408d3f
2 changed files with 5 additions and 1 deletions

View File

@@ -692,7 +692,10 @@ def fitnessmetric_chart(fitnessmetrics,user,workoutmode='rower'):
df = df[df['power2k']>0]
df = df[df['mode']==workoutmode]
try:
df = df[df['mode']==workoutmode]
except TypeError:
df = pd.DataFrame()
groups = df.groupby(by='date').max()

1
rowers/testdata/emails/colin.csv vendored Normal file

File diff suppressed because one or more lines are too long