dfsfds
This commit is contained in:
parent
c235d7d383
commit
d4d8b1f0ce
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ def post_rules(v):
|
||||||
@auth_required
|
@auth_required
|
||||||
def shadowbanned(v):
|
def shadowbanned(v):
|
||||||
if not (v and v.admin_level == 6): abort(404)
|
if not (v and v.admin_level == 6): abort(404)
|
||||||
users = [x for x in g.db.query(User).options(lazyload('*')).filter_by(shadowbanned != None).all()]
|
users = [x for x in g.db.query(User).options(lazyload('*')).filter(User.shadowbanned != None).all()]
|
||||||
return render_template("banned.html", v=v, users=users)
|
return render_template("banned.html", v=v, users=users)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue