diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-09-22 19:50:31 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-09-22 19:50:31 +0200 |
commit | 3ef3ead013d5fa26b5fffaec253f2eb6255815bd (patch) | |
tree | ada7cf68298230e525b520bdac7d3d2936d54ff2 | |
parent | 375644bc1cbda06eb6bacb7a1461328db64486bd (diff) |
adjust for HAFAS.pm changes0.08
-rw-r--r-- | index.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |