Commit 7bb11f6e authored by HERBERT Ryan's avatar HERBERT Ryan

default.py escape % in string

parent b5721674
......@@ -135,7 +135,7 @@ def run_request():
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_RESULTS, defs.FS_LOCK_THRESHHOLD))
message="The space in directory %s has passed below %d%%." % (defs.DIR_RESULTS, defs.FS_LOCK_THRESHHOLD))
return error_message("Runs are temporarily disabled. System admins have been made aware of the situation.")
##TODO check
......
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