From aa578db38d1f630b848c1aabd62a76ed1890f061 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 11 Nov 2023 09:24:14 +0100 Subject: bin/hafas: Use Routing get_services, not Status --- bin/hafas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/hafas') diff --git a/bin/hafas b/bin/hafas index 7f8c289..c2a5a02 100755 --- a/bin/hafas +++ b/bin/hafas @@ -148,7 +148,7 @@ sub parse_mot_options { for my $type ( split( qr{,}, $types ) ) { if ( $type eq 'help' or $type eq 'list' or $type eq q{?} ) { $service //= 'DB'; - my $desc = Travel::Status::DE::HAFAS::get_service($service); + my $desc = Travel::Routing::DE::HAFAS::get_service($service); if ($desc) { my @mots = @{ $desc->{productbits} }; @mots = grep { $_ ne 'x' } @mots; -- cgit v1.2.3