Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2019-09-09 17:43:56 +02:00
parent 754f979397
commit 5e2e55582a
5 changed files with 18 additions and 10 deletions

View File

@@ -3900,6 +3900,11 @@ def workout_upload_view(request,
except KeyError:
boattype = '1x'
try:
notes = docformoptions['notes']
except KeyError:
notes = ''
try:
workoutsource = uploadoptions['workoutsource']
except KeyError:
@@ -3981,8 +3986,6 @@ def workout_upload_view(request,
notes = form.cleaned_data['notes']
offline = form.cleaned_data['offline']
print('aap',form.cleaned_data)
race = None
if optionsform.is_valid():
make_plot = optionsform.cleaned_data['make_plot']
@@ -4023,7 +4026,6 @@ def workout_upload_view(request,
f2 = res[1] # file name incl media directory
if not offline:
print('noot',notes)
id,message,f2 = dataprep.new_workout_from_file(
r,f2,
workouttype=workouttype,