From 4f3e1030bd9e70037c696e437f56dc2b045b303f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 2 Feb 2018 11:48:50 +0100 Subject: [PATCH] Stuff --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index cf49b0bd..0599066d 100644 --- a/webserver.py +++ b/webserver.py @@ -31,7 +31,7 @@ def page_leaderboards(): @app.route("/challenge/1") def page_challenge_one(): 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() return render_template("challenge1.html", starting=4959.518703999999, result=result, target=5200)