summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-10-03 08:29:04 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-10-03 08:29:04 +0200
commit88cfaec82f061b3d1e5556b1c9b282a1988d2415 (patch)
tree14a25ca7e0b360e8e5e3a9533c1b739f94aeb7e6 /share
parentf97c531d551620625be935696b90c0a837700b1b (diff)
find-missing: skip SEV stations
Diffstat (limited to 'share')
-rwxr-xr-xshare/find-missing3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/find-missing b/share/find-missing
index e69a7a1..618fc78 100755
--- a/share/find-missing
+++ b/share/find-missing
@@ -44,6 +44,9 @@ my $status = Travel::Status::DE::IRIS->new(
my @missing;
for my $result ( $status->results ) {
+ if ( $result->type eq 'Bus' ) {
+ next;
+ }
for my $name ( $result->route_pre, $result->route_post ) {
my @matches
= Travel::Status::DE::IRIS::Stations::get_station_by_name($name);