summaryrefslogtreecommitdiff
path: root/bin/db-ris
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-13 14:13:15 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-13 14:13:15 +0200
commit91a31f674b366d4e86a6bfae12c0922c396a7df1 (patch)
tree4cffae1a37284d4c9422e5b9ae3ed3d979e7389d /bin/db-ris
parentd0f1eccd06746b602fcc468a6d14465c0195004d (diff)
DeutscheBahn/Result: Add delay accessor, remove info_raw
Diffstat (limited to 'bin/db-ris')
-rwxr-xr-xbin/db-ris4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/db-ris b/bin/db-ris
index d787073..25842a0 100755
--- a/bin/db-ris
+++ b/bin/db-ris
@@ -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;
}