[chronojump-server] Sends the user comment in the body of the crash message email.



commit d2352557a38db4d21d296a77ebf551a2a7aae6b0
Author: Carles Pina i Estany <carles pina cat>
Date:   Sun Jul 26 00:03:44 2015 +0200

    Sends the user comment in the body of the crash message email.

 email_error_log.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/email_error_log.py b/email_error_log.py
index 1cdeee4..9a122bf 100644
--- a/email_error_log.py
+++ b/email_error_log.py
@@ -10,7 +10,7 @@ def user_comments_from_log(log):
 
     if log.startswith(user_comment_separator):
         text = log.split(user_comment_separator)[1]
-        return "%s\ntext\n%s" % (user_comment_separator, user_comment_separator)
+        return "%s\n%s\n%s" % (user_comment_separator, text, user_comment_separator)
 
     return ""
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]