forked from MarseyWorld/MarseyWorld
fddf
parent
23c67e137a
commit
2b9b20a20c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue