aboutsummaryrefslogtreecommitdiff
path: root/src/match_up/routes.py
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-11-15 13:08:05 +0100
committerKaran Jayachandra <mail@karanjayachandra.com>2024-11-15 13:08:05 +0100
commite8ae44bebdd072b7b555cca5e0b8389d0eb3dbfd (patch)
tree47d7827bd3f408e81f4ca604011b4d035acc6b6b /src/match_up/routes.py
parentffaca550cbbf89942fbf5b82ad911d75da1c3c51 (diff)
Removed the timer from the backend
Diffstat (limited to 'src/match_up/routes.py')
-rw-r--r--src/match_up/routes.py7
1 files changed, 0 insertions, 7 deletions
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())