This commit is contained in:
Aevann1 2022-03-17 12:28:13 +02:00
parent a7b801a9bb
commit b919ce16d7
22 changed files with 29 additions and 27 deletions

View file

@ -414,7 +414,9 @@ def morecomments(v, cid):
c = g.db.query(Comment).filter_by(id=cid).one_or_none()
comments = c.replies
p = comments[0].post
if comments: p = comments[0].post
else: p = None
return render_template("comments.html", v=v, comments=comments, p=p, render_replies=True, ajax=True)
@app.post("/edit_post/<pid>")