some changes for Mike
This commit is contained in:
@@ -528,7 +528,7 @@ def cpdata(workouts, options):
|
||||
'CP':cpvalue,
|
||||
'workout':workoutnames,
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
if powerdf.empty:
|
||||
@@ -552,6 +552,9 @@ def cpdata(workouts, options):
|
||||
wtype = 'water'
|
||||
if workouts[0].workouttype in mytypes.otetypes:
|
||||
wtype = 'erg'
|
||||
if workouts[0].workouttype == 'bikerg':
|
||||
# for Mike
|
||||
wtype = 'erg'
|
||||
res = interactive_otwcpchart(powerdf,promember=True,rowername=rowername,r=r,
|
||||
cpfit=cpfit,title=title,type=wtype)
|
||||
script = res[0]
|
||||
|
||||
Reference in New Issue
Block a user