diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-01-15 11:04:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-01-15 11:04:37 +0100 |
commit | a84a29cee9427191096b1c4753843e79e200f8d9 (patch) | |
tree | 2439707e4a1759cf54dc946143e33a7d00f05bf4 /bin/db-iris | |
parent | 2ecfc2cfd6015729608df339f14e4a2e520a6696 (diff) |
Stations: Move DS100 match to separate method, use this for db-iris
Diffstat (limited to 'bin/db-iris')
-rwxr-xr-x | bin/db-iris | 3 |
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'"; |