summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-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') ) {