From e277e1cc2461bb5adc8d935513dc3b14e2c9d935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sat, 9 Feb 2013 10:55:47 +0100 Subject: [PATCH] Fix a bug on email notifications : a slash was inserted before # --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index e6bb1ba..96e589e 100644 --- a/views.py +++ b/views.py @@ -733,7 +733,7 @@ def add_comment(request, post_id, parent_id): for email,author in emails.items(): text_body = u'Bonjour %s,\n\nUn nouveau commentaire a été posté pour l\'article "%s".\n\n' % (author, post.title) - text_body += u'Pour le consulter, rendez vous sur http://%s%s/#comment_%s\n\n----------------\n\n' % (blog.name, post.getPath(), comment_index) + text_body += u'Pour le consulter, rendez vous sur http://%s%s#comment_%s\n\n----------------\n\n' % (blog.name, post.getPath(), comment_index) text_body += the_comment text_body += '\n'