From e8ae44bebdd072b7b555cca5e0b8389d0eb3dbfd Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 15 Nov 2024 13:08:05 +0100 Subject: Removed the timer from the backend --- src/match_up/routes.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/match_up/routes.py') diff --git a/src/match_up/routes.py b/src/match_up/routes.py index 95abe9e..f64eafa 100644 --- a/src/match_up/routes.py +++ b/src/match_up/routes.py @@ -10,13 +10,6 @@ def home(): return re.get_template("index.j2").render(url_for=url_for) -@app.route("/time", methods=["GET"]) -def get_time(): - mins, secs = rg.timer.get() - t = re.from_string('{% from "macros.j2" import timer %}{{timer(mins, secs)}}') - return render_template(t, mins=mins, secs=secs) - - @app.route("/control", methods=["GET"]) def get_controls(): return render_template("controls.j2", courts=rg.courts.get_courts()) -- cgit v1.3.1