fdfd
This commit is contained in:
parent
5f6f5b4136
commit
4bf12326e6
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def leaderboard(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 = g.db.query(User).options(lazyload('*'))
|
users = g.db.query(User).options(lazyload('*'))
|
||||||
users1= sorted(users, key=lambda x: x.dramacoins, reverse=True)[:25]
|
users1= sorted(users, key=lambda x: x.dramacoins, reverse=True)[:25]
|
||||||
users2= list(users.order_by(User.stored_subscriber_count).limit(10).all())
|
users2= list(users.order_by(User.stored_subscriber_count.desc()).limit(10).all())
|
||||||
return render_template("leaderboard.html", v=v, users1=users1, users2=users2)
|
return render_template("leaderboard.html", v=v, users1=users1, users2=users2)
|
||||||
|
|
||||||
@app.get("/@<username>/css")
|
@app.get("/@<username>/css")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue