Commit 91b0b8d8 authored by HERBERT Ryan's avatar HERBERT Ryan

file.py escape % in string

parent 7bb11f6e
......@@ -29,7 +29,7 @@ def add():
if not enough_space:
mail.send(to=defs.ADMIN_EMAILS,
subject="[Vidjil] Server space",
message="The space in directory %s has passed below %d\%." % (defs.DIR_SEQUENCES, defs.FS_LOCK_THRESHHOLD))
message="The space in directory %s has passed below %d%%." % (defs.DIR_SEQUENCES, defs.FS_LOCK_THRESHHOLD))
return error_message("Uploads are temporarily disabled. System admins have been made aware of the situation.")
patient_id = None
......
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