From 40bac837901c72647d192855565e76e9e4c3781f Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 13 Nov 2024 14:36:19 +0000 Subject: [PATCH] Remove old unused code. --- web_view.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/web_view.py b/web_view.py index a73a1b1..fb65c7b 100755 --- a/web_view.py +++ b/web_view.py @@ -580,9 +580,6 @@ def trip_stats() -> str: route_distances = agenda.travel.load_route_distances(app.config["DATA_DIR"]) trip_list = get_trip_list(route_distances) - # today = date.today() - # past = [item for item in trip_list if (item.end or item.start) < today] - conferences = sum(len(item.conferences) for item in trip_list) yearly_stats = agenda.stats.calculate_yearly_stats(trip_list)