better selecting
This commit is contained in:
@@ -547,8 +547,11 @@ def cpdata(workouts, options):
|
||||
d1 = datefirst,
|
||||
d2 = datelast,
|
||||
)
|
||||
wtype = 'water'
|
||||
if workouts[0].workouttype in otetypes:
|
||||
wtype = 'erg'
|
||||
res = interactive_otwcpchart(powerdf,promember=True,rowername=rowername,r=r,
|
||||
cpfit=cpfit,title=title)
|
||||
cpfit=cpfit,title=title,type=wtype)
|
||||
script = res[0]
|
||||
div = res[1]
|
||||
p1 = res[2]
|
||||
|
||||
Reference in New Issue
Block a user