mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
Stuff
This commit is contained in:
parent
1a56dde8a7
commit
4f3e1030bd
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ def page_leaderboards():
|
||||||
@app.route("/challenge/1")
|
@app.route("/challenge/1")
|
||||||
def page_challenge_one():
|
def page_challenge_one():
|
||||||
session = Session()
|
session = Session()
|
||||||
result = session.execute(r"SELECT sum(osu.std_pp) + sum(osu.taiko_pp) + sum(osu.catch_pp) + sum(osu.mania_pp) total_pp FROM osu;")
|
result = session.execute(r"SELECT sum(osu.std_pp) + sum(osu.taiko_pp) + sum(osu.catch_pp) + sum(osu.mania_pp) total_pp FROM osu;").first()[0]
|
||||||
session.close()
|
session.close()
|
||||||
return render_template("challenge1.html", starting=4959.518703999999, result=result, target=5200)
|
return render_template("challenge1.html", starting=4959.518703999999, result=result, target=5200)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue