summaryrefslogtreecommitdiff
path: root/bin/dbris-m
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dbris-m')
-rwxr-xr-xbin/dbris-m4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dbris-m b/bin/dbris-m
index d4de7e7..f8dd9f7 100755
--- a/bin/dbris-m
+++ b/bin/dbris-m
@@ -80,7 +80,7 @@ elsif ( $opt{station} !~ m{ ^ \d+ $ }x ) {
= Travel::Status::DE::DBRIS->new( locationSearch => $opt{station} );
for my $result ( $status->results ) {
if ( defined $result->eva ) {
- $opt{station} = $result->eva;
+ $opt{station} = $result;
last;
}
}
@@ -172,7 +172,7 @@ if ( $opt{station} ) {
: q{ } x ( $max_delay + 2 ),
$result->line,
$result->dest_name,
- $result->platform // $result->sched_platform
+ $result->rt_platform // $result->platform // q{}
);
}
}