summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-wagenreihung-to-json2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-wagenreihung-to-json b/bin/db-wagenreihung-to-json
index 339124d..8ed2289 100755
--- a/bin/db-wagenreihung-to-json
+++ b/bin/db-wagenreihung-to-json
@@ -549,7 +549,7 @@ for my $train_number ( keys %map ) {
# train type may differ depending on date of week or similar. We don't
# parse/handle that yet.
- delete $map{$train_number}{type};
+ $map{$train_number}{type} = $map{$train_number}{raw};
delete $map{$train_number}{short};
delete $map{$train_number}{wagons};
delete $map{$train_number}{has_wagon};