From 2cc9758eb6b99a7f50103e30c0cc2b8dbead4ce5 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Fri, 16 Jan 2015 17:05:43 +0200 Subject: [PATCH] format notification --- im_notif/im_notif_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/im_notif/im_notif_models.py b/im_notif/im_notif_models.py index 8253d46..03858b6 100644 --- a/im_notif/im_notif_models.py +++ b/im_notif/im_notif_models.py @@ -89,10 +89,10 @@ class mail_notification(models.Model): if url: about = '%s' % (url, about) im_text = [ - '%s [FROM] %s' % (message.type, author), - about, '_____________________', '_____[open_inbox]_____' % inbox_url, + '%s [FROM] %s' % (message.type, author), + about, ] #im_text = im_text + body.split('\n') return im_text