We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09477dc commit 6ca0e78Copy full SHA for 6ca0e78
2 files changed
pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "MBTAclient"
7
-version = "1.1.30"
+version = "1.1.31"
8
description = "A Python client for interacting with the MBTA API"
9
readme = "README.md"
10
requires-python = ">=3.12"
src/mbtaclient/handlers/base_handler.py
@@ -484,6 +484,8 @@ def _filter_and_sort_trips(
484
if require_both_stops and (
485
not departure_stop
486
or not arrival_stop
487
+ or departure_stop.stop_sequence is None # <-- FIX for #29
488
+ or arrival_stop.stop_sequence is None # <-- FIX for #29
489
or departure_stop.stop_sequence > arrival_stop.stop_sequence
490
):
491
continue
0 commit comments