Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2021-02-09 08:32:40 +01:00
parent 0b0aa5549e
commit 4b463f472a
2 changed files with 9 additions and 6 deletions

View File

@@ -2255,6 +2255,7 @@ def new_workout_from_df(r, df,
boattype = parent.boattype
notes = parent.notes
summary = parent.summary
rpe = parent.rpe
if parent.privacy == 'hidden':
makeprivate = True
else:
@@ -2267,6 +2268,7 @@ def new_workout_from_df(r, df,
notes = ''
summary = ''
makeprivate = False
rpe = 0
if startdatetime == '':
startdatetime = timezone.now()
@@ -2305,6 +2307,7 @@ def new_workout_from_df(r, df,
inboard=inboard,
makeprivate=makeprivate,
dosmooth=False,
rpe=rpe,
consistencychecks=False)
job = myqueue(queuehigh,handle_calctrimp,id,csvfilename,r.ftp,r.sex,r.hrftp,r.max,r.rest)