diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-12 22:46:07 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-12 22:46:07 +0100 |
commit | d768ba93d4d78747709fbbb432130bd2bd9e454e (patch) | |
tree | 6a70383f9abd11138d32785849322fea106d08c5 | |
parent | 87667f39ba001dd4b21b369e9fcb9a2bdda38501 (diff) |
fix IC-D/IC-E fixup
-rwxr-xr-x | bin/db-zugbildung-to-json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/db-zugbildung-to-json b/bin/db-zugbildung-to-json index a19ecbd..3010ad9 100755 --- a/bin/db-zugbildung-to-json +++ b/bin/db-zugbildung-to-json @@ -449,7 +449,8 @@ for my $line (@lines) { } } elsif ( $number and $line =~ m{^\d*\s+[AB][pv]m} ) { - if ( $map{$number}{type} eq 'IC2' or $map{$number}{type} eq 'IC2 KISS' ) + if ( $map{$number}{type} eq 'IC2 Twindexx' + or $map{$number}{type} eq 'IC2 KISS' ) { # Zugbildungsplan go home, you're drunk. Wagons of IC2 double decker # trains must start with D (indicating that they double decker |