summaryrefslogtreecommitdiff
path: root/bin/db-iris
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-iris')
-rwxr-xr-xbin/db-iris3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/db-iris b/bin/db-iris
index 8e5909a..506809e 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -93,8 +93,7 @@ my $status = Travel::Status::DE::IRIS->new(
sub get_station {
my ($input_name) = @_;
- my @stations
- = Travel::Status::DE::IRIS::Stations::get_station_by_name($input_name);
+ my @stations = Travel::Status::DE::IRIS::Stations::get_station($input_name);
if ( @stations == 0 ) {
say STDERR "No station matches '$input_name'";