Drop MORNING_CUTOFF_HOUR, consider all services.
This commit is contained in:
parent
df94e822ae
commit
4e4202e220
2 changed files with 0 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue