summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-10-11 21:19:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-10-11 21:19:29 +0200
commitc73b20e6393cb56d295bff560a4971f391f0b2d4 (patch)
tree49f9397b0bf14c239f08abae6fa10964ed487405
parent2fd2693bf6033159bb4187216d667f3eba86f512 (diff)
initialize delay
-rw-r--r--index.pl2
1 files changed, 1 insertions, 1 deletions
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') ) {