offline background cp chart creation
This commit is contained in:
@@ -5035,6 +5035,7 @@ def history_view_data(request,userid=0):
|
||||
ddict['hrmax'] = ddf['hr'].max().astype(int)
|
||||
except ValueError:
|
||||
ddict['hrmax'] = 0
|
||||
|
||||
ddict['powermean'] = int(wavg(df,'power','deltat'))
|
||||
ddict['powermax'] = ddf['power'].max().astype(int)
|
||||
ddict['nrworkouts'] = a_workouts.count()
|
||||
|
||||
Reference in New Issue
Block a user