Commit 3f978192 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files

controllers/ error_message doesn't need controller_utils namespace anymore.

fixes e50b5382 which fixes f918bdb3
parent 16474e6e
......@@ -154,7 +154,7 @@ def confirm():
delete_results = ('delete_results' in request.vars and request.vars['delete_results'] == 'True')
sequence_file = db.sequence_file[request.vars['id']]
if sequence_file == None:
return controller_utils.error_message("The requested file doesn't exist")
return error_message("The requested file doesn't exist")
if sequence_file.data_file == None:
delete_results = True
if auth.can_modify_patient(request.vars['patient_id']):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment