Fix a bug on email notifications : a slash was inserted before #

This commit is contained in:
Grégory Soutadé 2013-02-09 10:55:47 +01:00
parent 61d2d63bf4
commit e277e1cc24

View File

@ -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'