From eb8d9cf5eafea77a864c46f69dc99e0ff2444e8c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 3 Sep 2021 23:09:39 +0200 Subject: [PATCH] fd --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 74857df54..42e893014 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))