diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-01-03 18:18:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-01-03 18:18:13 +0100 |
commit | ef3753ea59541bab79dd8ae72b45cf2046502307 (patch) | |
tree | 9453839542639e048eb2368d5e1e7bcfca1e674a /bin | |
parent | 0892c03c405c2e80076d763d200d91af33230353 (diff) |
handle empty Baureihe (e.g. for swiss EC trains)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/db-wagenreihung | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/db-wagenreihung b/bin/db-wagenreihung index 3757654..11572a9 100755 --- a/bin/db-wagenreihung +++ b/bin/db-wagenreihung @@ -134,6 +134,7 @@ for my $wagon ( $wr->wagons ) { printf( "%3s: %3s %10s %s\n", $wagon->number || '?', - $wagon->model, $wagon->type, join( q{ }, $wagon->attributes ) + $wagon->model || '???', + $wagon->type, join( q{ }, $wagon->attributes ) ); } |