changes
This commit is contained in:
@@ -418,6 +418,8 @@ def trendflexdata(workouts, options, userid=0):
|
||||
return ('', 'Error: not enough data')
|
||||
except TypeError:
|
||||
return ('','Error: something wrong with the data')
|
||||
except KeyError:
|
||||
return ('','Error: no {groupby} data'.format(groupby=groupby))
|
||||
else: # pragma: no cover
|
||||
try:
|
||||
bins = np.arange(datadf['days ago'].min()-binsize,
|
||||
|
||||
Reference in New Issue
Block a user