bug fix zeropower
This commit is contained in:
@@ -522,11 +522,13 @@ def cpdata(workouts, options):
|
||||
|
||||
ids = [w.id for w in workouts]
|
||||
delta, cpvalue, avgpower,workoutnames = dataprep.fetchcp_new(r,workouts)
|
||||
|
||||
powerdf = pd.DataFrame({
|
||||
'Delta':delta,
|
||||
'CP':cpvalue,
|
||||
'workout':workoutnames,
|
||||
})
|
||||
|
||||
|
||||
|
||||
if powerdf.empty:
|
||||
|
||||
Reference in New Issue
Block a user