forked from rDrama/rDrama
master
parent
9bb6ee06d3
commit
59479dddfc
|
@ -312,7 +312,7 @@ def api_comment(v):
|
||||||
g.db.add(basedguy)
|
g.db.add(basedguy)
|
||||||
g.db.flush()
|
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:
|
with CustomRenderer(post_id=parent_id) as renderer:
|
||||||
body_md = renderer.render(mistletoe.Document(body2))
|
body_md = renderer.render(mistletoe.Document(body2))
|
||||||
|
|
Loading…
Reference in New Issue