This commit is contained in:
Aevann1 2021-08-24 06:32:05 +02:00
parent 44a48dbfbd
commit 98c3c28e84

View file

@ -70,7 +70,6 @@ def transfer_coins(v, username):
@app.get("/leaderboard")
@auth_desired
def leaderboard(v):
if v and v.is_banned and not v.unban_utc:return render_template("seized.html")
users = g.db.query(User).options(lazyload('*'))
users1 = users.order_by(User.coins.desc()).limit(25).all()
users2 = users.order_by(User.stored_subscriber_count.desc()).limit(10).all()