summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-01-15 11:04:37 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-01-15 11:04:37 +0100
commita84a29cee9427191096b1c4753843e79e200f8d9 (patch)
tree2439707e4a1759cf54dc946143e33a7d00f05bf4 /bin
parent2ecfc2cfd6015729608df339f14e4a2e520a6696 (diff)
Stations: Move DS100 match to separate method, use this for db-iris
Diffstat (limited to 'bin')
-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'";