summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-19 17:08:45 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-19 17:08:45 +0100
commit965437017efb04b8e40add8efe5758f31f59ec67 (patch)
treec90c14231281a9007755c413346527d1a4404652
parent79bbdc7dc1198594d06a278195bbc995ccd3da06 (diff)
delete "short" when overriding IC type
-rwxr-xr-xbin/db-wagenreihung-to-json1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/db-wagenreihung-to-json b/bin/db-wagenreihung-to-json
index 52d6663..34e6226 100755
--- a/bin/db-wagenreihung-to-json
+++ b/bin/db-wagenreihung-to-json
@@ -326,6 +326,7 @@ for my $line (@lines) {
# train. Observed on IC 2006 Stuttgart – Dortmund, which is planned as
# IC-D, but actually uses IC1 wagons.
$map{$number}{type} = 'IC';
+ delete $map{$number}{short};
}
}