service.py

changeset 136
27324a81beca
parent 134
4ac0f2e2ec4e
--- a/service.py	Thu Dec 20 23:11:07 2018 +0200
+++ b/service.py	Sat Jan 12 01:38:58 2019 +0200
@@ -542,7 +542,7 @@
 		'stop_name': tr(schedule_entry['stop'].stop.name, 'bus-stops', 'places'),
 		'imminent': imminent(schedule_entry),
 		'typename': schedule_entry['stop'].stop.typename,
-	} for schedule_entry in cluster.schedule(max_amount = 100))
+	} for schedule_entry in cluster.schedule(max_amount = 100, max_past = 4, arrivals = True))
 	stops_in_cluster = sorted(
 		({
 			'id': stop.reference,

mercurial