From c73b20e6393cb56d295bff560a4971f391f0b2d4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 11 Oct 2014 21:19:29 +0200 Subject: initialize delay --- index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.pl b/index.pl index a4a2442..0ad9447 100644 --- a/index.pl +++ b/index.pl @@ -116,7 +116,7 @@ sub handle_request { for my $result (@results) { my $platform = ( split( / /, $result->platform ) )[0]; my $line = $result->line; - my $delay = 0; + my $delay = $result->delay; if ($via) { my @route = $result->route; if ( $result->isa('Travel::Status::DE::IRIS::Result') ) { -- cgit v1.2.3