From 31431ecdcb7bb4509c1bdf988f6dd3940e2b7d44 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 8 Jul 2021 15:05:32 +0200 Subject: [PATCH] Remove old unused code --- web_view.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/web_view.py b/web_view.py index e66a1bb..8425d9b 100755 --- a/web_view.py +++ b/web_view.py @@ -164,12 +164,6 @@ def identifier_page(pid): ) -@app.route("/old_map///") -def old_map_location(zoom, lat, lng): - t = int(time()) - return render_template("map.html", zoom=zoom, lat=lat, lng=lng, time=t) - - @app.route("/map") def map_start_page(): loc = get_user_location() @@ -198,17 +192,6 @@ def map_location(zoom, lat, lon): ) -@app.route("/old_map") -def old_map_start_page(): - t = int(time()) - location = get_user_location() - if not location: - return render_template("map.html", zoom=16, lat=None, lng=None, time=t) - - lat, lng = location - return render_template("map.html", zoom=16, lat=lat, lng=lng, time=t) - - @app.route("/search/map") def search_map_page(): user_lat, user_lon = get_user_location() or (None, None)