diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-10-16 03:56:08 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-10-16 03:56:08 +0200 |
commit | 663a1723da54c7a06e870447b1c60f845bd960aa (patch) | |
tree | 2fe757a56045a43345c8fcf883b394b2d7f28e69 /bin/efa-m | |
parent | 0e1e9168e74981aa9f121cc269fa7010fefac62f (diff) |
format_route: platform may be undef
Diffstat (limited to 'bin/efa-m')
-rwxr-xr-x | bin/efa-m | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -237,7 +237,8 @@ sub format_route { $output .= sprintf( " %5s %s %s %35s %s\n", $stop->arr->strftime('%H:%M'), - $delay, $occupancy, $stop->full_name, $stop->platform, + $delay, $occupancy, $stop->full_name, + $stop->platform // q{}, ); } else { @@ -248,7 +249,7 @@ sub format_route { $delay, $occupancy, $stop->full_name, - $stop->platform, + $stop->platform // q{}, ); } } |