diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-19 12:43:43 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-19 12:43:43 +0200 |
commit | b85e8a1e04b2021843f7fb11337bc5a298635b7b (patch) | |
tree | 67db7a85306b8a0d2f124a949f503459d0da6677 /lib/Travelynx.pm | |
parent | 85022709d75940a3f84cdbe462f9b261b38fc69e (diff) |
API: Support HAFAS checkin (via journeyID)
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index e5978d4..8437686 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -527,7 +527,8 @@ sub startup { my ($journey) = @_; my $found; for my $stop ( $journey->route ) { - if ( $stop->eva == $station ) { + if ( $stop->name eq $station or $stop->eva == $station ) + { $found = $stop; last; } |