removing print
This commit is contained in:
@@ -377,7 +377,6 @@ def add_workouts_plannedsession(ws,ps,r):
|
||||
|
||||
# start adding sessions
|
||||
for w in ws:
|
||||
print(ps.sessiontype)
|
||||
if w.date>=ps.startdate and w.date<=ps.enddate:
|
||||
w.plannedsession = ps
|
||||
w.save()
|
||||
@@ -434,7 +433,7 @@ def add_workouts_plannedsession(ws,ps,r):
|
||||
|
||||
df = dataprep.getsmallrowdata_db(['time','cumdist'],ids=[w.id])
|
||||
fastest_meters = datautils.getfastest(df,ps.sessionvalue,mode='time')
|
||||
print(fastest_meters,'aap')
|
||||
|
||||
if fastest_meters > 0:
|
||||
duration = dt.time(0,ps.sessionvalue)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user