From a1cdf62eef9db88014eb6c89ab13e0d20e7bd497 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 16 Oct 2024 06:36:26 +0100 Subject: [PATCH] Bug fix trip stats page --- web_view.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_view.py b/web_view.py index 045874f..b5270f9 100755 --- a/web_view.py +++ b/web_view.py @@ -22,6 +22,7 @@ import agenda.data import agenda.error_mail import agenda.fx import agenda.holidays +import agenda.stats import agenda.thespacedevs import agenda.trip import agenda.utils @@ -619,7 +620,7 @@ def trip_stats() -> str: conferences = sum(len(item.conferences) for item in trip_list) - yearly_stats = agenda.trip.calculate_yearly_stats(trip_list) + yearly_stats = agenda.stats.calculate_yearly_stats(trip_list) return flask.render_template( "trip/stats.html",