summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index f7df0f7..2eda72f 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -163,7 +163,7 @@ sub trainsearch {
$opt{date_yyyy} = $now->strftime('%d.%m.%Y');
}
- my $trainsearch = $self->hafas_json_req( $self->{main_cache},
+ my $trainsearch = $self->hafas_json_req( $self->{realtime_cache},
"${base}&date=$opt{date_yy}&trainname=$opt{train_no}" );
if ( not $trainsearch ) {