Permalink
Browse files

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

  • Loading branch information...
1 parent 0388917 commit 0b188bf18193944790d04bc3c8a9b11c35a01c29 @Arachnid Arachnid committed Nov 23, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 handlers/bloog/blog.py
View
@@ -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()

0 comments on commit 0b188bf

Please sign in to comment.