summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-22 19:50:31 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-22 19:50:31 +0200
commit3ef3ead013d5fa26b5fffaec253f2eb6255815bd (patch)
treeada7cf68298230e525b520bdac7d3d2936d54ff2
parent375644bc1cbda06eb6bacb7a1461328db64486bd (diff)
adjust for HAFAS.pm changes0.08
-rw-r--r--index.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index 3acd993..fb01343 100644
--- a/index.pl
+++ b/index.pl
@@ -96,9 +96,9 @@ helper 'handle_no_results' => sub {
my ( $self, $backend, $station, $errstr ) = @_;
if ( $backend eq 'ris' ) {
- my %db_service = Travel::Status::DE::HAFAS::get_service('DB');
+ my $db_service = Travel::Status::DE::HAFAS::get_service('DB');
my $sf = Travel::Status::DE::HAFAS::StopFinder->new(
- url => $db_service{stopfinder},
+ url => $db_service->{stopfinder},
input => $station,
);
my @candidates