Merge branch 'release/v14.35'
This commit is contained in:
@@ -406,6 +406,8 @@ def add_workouts_plannedsession(ws,ps,r):
|
||||
fastest_milliseconds = datautils.getfastest(df,ps.sessionvalue,mode='distance')
|
||||
|
||||
if fastest_milliseconds > 0:
|
||||
w.plannedsession = ps
|
||||
w.save()
|
||||
|
||||
duration = to_time(1000.*fastest_milliseconds)
|
||||
|
||||
@@ -441,6 +443,8 @@ def add_workouts_plannedsession(ws,ps,r):
|
||||
fastest_meters = datautils.getfastest(df,ps.sessionvalue,mode='time')
|
||||
|
||||
if fastest_meters > 0:
|
||||
w.plannedsession = ps
|
||||
w.save()
|
||||
duration = dt.time(0,ps.sessionvalue)
|
||||
|
||||
record = CourseTestResult(
|
||||
|
||||
Reference in New Issue
Block a user