remotes/1693045480750635534/spooky-22
Aevann1 2021-08-20 07:55:53 +02:00
parent 418e608f52
commit cbd53cecce
1 changed files with 2 additions and 6 deletions

View File

@ -173,12 +173,8 @@ def titles(v):
def badges(v):
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
badges = [
x for x in g.db.query(BadgeDef).order_by(
text("rank asc, id asc")).all()]
return render_template("badges.html",
v=v,
badges=badges)
badges = g.db.query(BadgeDef).all()
return render_template("badges.html", v=v, badges=badges)
@app.get("/blocks")
@auth_desired