Private
Public Access
1
0

bug fix zeropower

This commit is contained in:
Sander Roosendaal
2020-10-21 19:59:58 +02:00
parent 52c15644ba
commit 4b1f3d50f2
3 changed files with 8 additions and 68 deletions

View File

@@ -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: