This commit is contained in:
Aevann1 2021-07-25 03:08:32 +02:00
parent f65e2ba147
commit 1390eea805
13 changed files with 24 additions and 44 deletions

View file

@ -49,7 +49,7 @@ def resize():
@auth_required
def postbanaward(post_id, v):
if not v.banawards > 0: return render_template("errors/banaward.html", v=v)
if not v.banawards > 0: abort(402)
post = g.db.query(Submission).filter_by(id=post_id).first()
if not post: abort(400)