diff --git a/files/routes/comments.py b/files/routes/comments.py index 74857df546..42e8930147 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -312,7 +312,7 @@ def api_comment(v): g.db.add(basedguy) g.db.flush() - body2 = BASED_MSG.format(username=v.username, basedcount=basedguy) + body2 = BASED_MSG.format(username=v.username, basedcount=basedguy.basedcount) with CustomRenderer(post_id=parent_id) as renderer: body_md = renderer.render(mistletoe.Document(body2))