From 45ebbfae7b17d829c0da49982e059171e15463cb Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 17 Nov 2023 22:05:40 +0100 Subject: shorten load display --- bin/hafas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/hafas b/bin/hafas index f9cae79..e992708 100755 --- a/bin/hafas +++ b/bin/hafas @@ -231,12 +231,12 @@ sub display_occupancies { my ($load) = @_; if ( $load and ( $load->{FIRST} or $load->{SECOND} ) ) { - return sprintf( "[%1s%1s]", + return sprintf( "%1s%1s", display_occupancy( $load->{FIRST} ), display_occupancy( $load->{SECOND} ) ); } - return q{ }; + return q{ }; } sub format_delay { -- cgit v1.2.3