Unverified Commit a7942591 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

hafas: Handle _ in mot array

parent 407c2a34
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -170,8 +170,10 @@ sub parse_mot_options {
				my @mots = @{ $desc->{productbits} };
				for my $mot ( @{ $desc->{productbits} } ) {
					if ( ref($mot) eq 'ARRAY' ) {
						if ( $mot->[0] ne '_' ) {
							printf( "%-10s %s\n", @{$mot} );
						}
					}
					else {
						say $mot;
					}