Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-02-16 20:07:02 +01:00
parent e337ea2ae4
commit 710b711bc4

View File

@@ -4424,7 +4424,6 @@ def workout_upload_api(request):
optionsform = TeamUploadOptionsForm(post_data)
rowerform = TeamInviteForm(post_data)
rowerform.fields.pop('email')
fstr = ''
try:
fstr = post_data['file']
nn, ext = os.path.splitext(fstr)
@@ -4542,7 +4541,7 @@ def workout_upload_api(request):
if r.getemailnotifications and not r.emailbounced:
link = settings.SITE_URL+reverse(
therower.defaultlandingpage,
r.defaultlandingpage,
kwargs = {
'id':encoder.encode_hex(w.id),
}
@@ -4554,6 +4553,7 @@ def workout_upload_api(request):
# This is the main view for processing uploaded files
@login_required()
def workout_upload_view(request,