dffd
This commit is contained in:
parent
fb0ae74585
commit
01d16b4ffe
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ def blocks(v):
|
||||||
def banned(v):
|
def banned(v):
|
||||||
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
||||||
|
|
||||||
users = [x for x in g.db.query(User).filter(User.is_banned, not User.unban_utc).all()]
|
users = [x for x in g.db.query(User).filter(User.is_banned > 0, User.unban_utc == 0).all()]
|
||||||
return render_template("banned.html", v=v, users=users)
|
return render_template("banned.html", v=v, users=users)
|
||||||
|
|
||||||
@app.route("/formatting", methods=["GET"])
|
@app.route("/formatting", methods=["GET"])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue