small error fix in unrecognized
This commit is contained in:
@@ -449,12 +449,12 @@ def new_workout_from_file(r,f2,
|
||||
message = "We couldn't recognize the file type"
|
||||
if settings.DEBUG:
|
||||
res = handle_sendemail_unrecognized.delay(f2,
|
||||
request.user.email)
|
||||
r.user.email)
|
||||
|
||||
else:
|
||||
res = queuehigh.enqueue(handle_sendemail_unrecognized,
|
||||
f2,request.user.email)
|
||||
return (0,'message')
|
||||
f2,r.user.email)
|
||||
return (0,message)
|
||||
|
||||
# handle non-Painsled by converting it to painsled compatible CSV
|
||||
if (fileformat != 'csv'):
|
||||
|
||||
Reference in New Issue
Block a user