master
Aevann1 2021-12-23 20:48:57 +02:00
parent e545cc8833
commit c8c03dbe99
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def grassed(v):
@limiter.limit("1/second") @limiter.limit("1/second")
@admin_level_required(3) @admin_level_required(3)
def distribute(v, comment): def distribute(v, comment):
try: int(cid) try: comment = int(comment)
except: abort(400) except: abort(400)
post = g.db.query(Comment).filter_by(id=comment).first().post post = g.db.query(Comment).filter_by(id=comment).first().post