remotes/1693045480750635534/spooky-22
Aevann1 2021-07-26 05:08:06 +02:00
parent b7d682e170
commit d1de9c4f9c
1 changed files with 2 additions and 1 deletions

View File

@ -399,7 +399,7 @@ def api_comment(v):
g.db.add(c)
g.db.flush()
print("7")
if v.dramacoins >= 0:
if request.files.get("file"):
file=request.files["file"]
@ -414,6 +414,7 @@ def api_comment(v):
with CustomRenderer(post_id=parent_id) as renderer:
body_md = renderer.render(mistletoe.Document(body))
body_html = sanitize(body_md, linkgen=True)
print("8")
c_aux = CommentAux(
id=c.id,