Commit ee8bab45 authored by HERBERT Ryan's avatar HERBERT Ryan

controller/default.py file.py def -> defs

fix keyword error
parent 623e8a23
......@@ -131,7 +131,7 @@ def init_from_csv():
# need patient admin permission
def run_request():
error = ""
enough_space = check_enough_space(def.DIR_RESULTS)
enough_space = check_enough_space(defs.DIR_RESULTS)
if not enough_space:
return error_message("Uploads are temporarily disabled. System admins have been made aware of the situation.")
......
......@@ -25,7 +25,7 @@ def add():
if not auth.can_upload_sample_set(sample_set.id):
return error_message("you don't have right to upload files")
else:
enough_space = check_enough_space(def.DIR_SEQUENCES)
enough_space = vidjil_utils.check_enough_space(defs.DIR_SEQUENCES)
if not enough_space:
return error_message("Uploads are temporarily disabled. System admins have been made aware of the situation.")
......
Markdown is supported
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