Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed gravatar display so they are shown to the author of a comment.

  • Loading branch information...
commit 0b188bf18193944790d04bc3c8a9b11c35a01c29 1 parent 0388917
@Arachnid Arachnid authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  handlers/bloog/blog.py
View
3  handlers/bloog/blog.py
@@ -304,7 +304,8 @@ def process_comment_submission(handler, article):
view_path = view.find_file(view.templates, "bloog/blog/comment.html")
response = template.render(
os.path.join("views", view_path),
- { 'comment': comment }, debug=config.DEBUG)
+ { 'comment': comment, "use_gravatars": config.BLOG["use_gravatars"] },
+ debug=config.DEBUG)
handler.response.out.write(response)
view.invalidate_cache()
Please sign in to comment.
Something went wrong with that request. Please try again.