diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-17 23:07:34 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-17 23:07:34 +0200 |
commit | 986d398f5cd6e62bb4501dea6775a9cd61b9bd28 (patch) | |
tree | 80681957b7f70aff2dc9a13180a7ce6477b347b0 /bin | |
parent | b8bdca3c045787ad546234fff0cf5801dbe1cd92 (diff) |
switch to JSON API (WiP; basic functionality is present)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa-m | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 |