From 7bb11f6e5a1c48008c8eaf5b63681dcf0e240777 Mon Sep 17 00:00:00 2001 From: Ryan Herbert Date: Fri, 21 Oct 2016 17:05:09 +0200 Subject: [PATCH] default.py escape % in string --- server/web2py/applications/vidjil/controllers/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/web2py/applications/vidjil/controllers/default.py b/server/web2py/applications/vidjil/controllers/default.py index 01c662e73..6281a6816 100644 --- a/server/web2py/applications/vidjil/controllers/default.py +++ b/server/web2py/applications/vidjil/controllers/default.py @@ -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 -- GitLab