diff --git a/templates/results.html b/templates/results.html index c1a0a1a..cce67cd 100644 --- a/templates/results.html +++ b/templates/results.html @@ -205,9 +205,6 @@
Paddington → St Pancras connection: {{ min_connection }}–{{ max_connection }} min. - {% if unreachable_morning_services %} - Morning means Eurostar departures before 12:00 from St Pancras. - {% endif %} GWR walk-on single prices for Bristol Temple Meads → Paddington. Eurostar Standard prices are for 1 adult in GBP; always check eurostar.com to book. diff --git a/trip_planner.py b/trip_planner.py index ca178d6..4aa2ed2 100644 --- a/trip_planner.py +++ b/trip_planner.py @@ -6,7 +6,6 @@ from datetime import datetime, timedelta, time as _time MIN_CONNECTION_MINUTES = 50 MAX_CONNECTION_MINUTES = 110 MAX_GWR_MINUTES = 110 -MORNING_CUTOFF_HOUR = 12 DATE_FMT = '%Y-%m-%d' TIME_FMT = '%H:%M' @@ -155,14 +154,6 @@ def find_unreachable_morning_eurostars( unreachable = [] for es in eurostar_trains: - try: - dep_stp = _parse_dt(travel_date, es['depart_st_pancras']) - except (ValueError, KeyError): - continue - - if dep_stp.hour >= MORNING_CUTOFF_HOUR: - continue - if any( _is_viable_connection( gwr,