bug fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user