Private
Public Access
1
0

better selecting

This commit is contained in:
Sander Roosendaal
2020-10-21 15:32:07 +02:00
parent 82d1418bcb
commit 146d070cfd
3 changed files with 71 additions and 5 deletions

View File

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