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",