summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-17 23:07:34 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-17 23:07:34 +0200
commit986d398f5cd6e62bb4501dea6775a9cd61b9bd28 (patch)
tree80681957b7f70aff2dc9a13180a7ce6477b347b0 /bin
parentb8bdca3c045787ad546234fff0cf5801dbe1cd92 (diff)
switch to JSON API (WiP; basic functionality is present)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa-m8
1 files changed, 1 insertions, 7 deletions
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