Skip to content
Snippets Groups Projects
Unverified Commit 158f6866 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

update-autocomplete: remove duplicate station names

parent 4ffd8efd
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,11 @@ use 5.020;
use JSON;
use File::Slurp qw(write_file);
use List::Util qw(uniq);
use Travel::Status::DE::IRIS::Stations;
my @station_names
= map { $_->[1] } Travel::Status::DE::IRIS::Stations::get_stations();
= uniq map { $_->[1] } Travel::Status::DE::IRIS::Stations::get_stations();
my $station_list = q{};
for my $station (@station_names) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment