summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/db-zugbildung-to-json3
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