Bug fix trip stats page
This commit is contained in:
parent
81b0234794
commit
a1cdf62eef
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue