diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-07-13 14:13:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-07-13 14:13:15 +0200 |
commit | 91a31f674b366d4e86a6bfae12c0922c396a7df1 (patch) | |
tree | 4cffae1a37284d4c9422e5b9ae3ed3d979e7389d /bin/db-ris | |
parent | d0f1eccd06746b602fcc468a6d14465c0195004d (diff) |
DeutscheBahn/Result: Add delay accessor, remove info_raw
Diffstat (limited to 'bin/db-ris')
-rwxr-xr-x | bin/db-ris | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -88,15 +88,13 @@ for my $d ( $status->results() ) { my @via; - my $re_late = qr{ (?: ^ | , ) ca[.] \s \d+ \s Minuten \s sp.ter}ox; - @via = $d->route; if ( $filter_via and not( first { $_ =~ m{$filter_via}io } @via ) ) { next; } - if ( $ignore_late and $d->info =~ $re_late ) { + if ( $ignore_late and $d->delay ) { next; } |