From 986d398f5cd6e62bb4501dea6775a9cd61b9bd28 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 17 Aug 2024 23:07:34 +0200 Subject: switch to JSON API (WiP; basic functionality is present) --- bin/efa-m | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/efa-m b/bin/efa-m index 03fd30b..7eb9211 100755 --- a/bin/efa-m +++ b/bin/efa-m @@ -288,10 +288,6 @@ sub show_results { : $d->datetime->strftime('%H:%M') ); - if ( $d->platform_db ) { - $platform .= ' (DB)'; - } - if ( ( @grep_lines and none { $d->line eq $_ } @grep_lines ) or ( @grep_mots and none { $d->mot_name eq $_ } @grep_mots ) @@ -326,7 +322,7 @@ sub show_results { } my $line = $d->line; - if ( length($line) > 10 and $d->train_type and $d->train_no ) { + if ( (length($line) > 10 or not $line) and $d->train_type and $d->train_no ) { $line = $d->train_type . ' ' . $d->train_no; } @@ -615,8 +611,6 @@ None. =item * Travel::Status::DE::EFA(3pm) -=item * XML::LibXML(3pm) - =back =head1 BUGS AND LIMITATIONS -- cgit v1.2.3