Skip to content

Commit

Permalink
Replace ice_names.json with Travel::Status::DE::DBWagenreihung built-…
Browse files Browse the repository at this point in the history
…in list
  • Loading branch information
derf committed Aug 28, 2024
1 parent 5192d99 commit 03fe275
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 256 deletions.
6 changes: 4 additions & 2 deletions lib/Travelynx.pm
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,10 @@ sub startup {
# via https://github.com/marudor/bahn.expert/blob/main/src/server/coachSequence/TrainNames.ts
$self->attr(
ice_name => sub {
my $id_to_name = JSON->new->utf8->decode(
scalar read_file('share/ice_names.json') );
state $id_to_name = {
Travel::Status::DE::DBWagenreihung::Group::name_to_designation(
)
};
return $id_to_name;
}
);
Expand Down
254 changes: 0 additions & 254 deletions share/ice_names.json

This file was deleted.

0 comments on commit 03fe275

Please sign in to comment.