From 91a31f674b366d4e86a6bfae12c0922c396a7df1 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 13 Jul 2011 14:13:15 +0200 Subject: DeutscheBahn/Result: Add delay accessor, remove info_raw --- bin/db-ris | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bin/db-ris') 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; } -- cgit v1.2.3