Remove old unused code.
This commit is contained in:
parent
b3e7070b84
commit
40bac83790
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue