Traveling: work around empty evas list in HAFAS result
This commit is contained in:
parent
c04e58a8e4
commit
9e073a0fe8
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ sub station {
|
||||||
} $status->results;
|
} $status->results;
|
||||||
$self->stations->add_meta(
|
$self->stations->add_meta(
|
||||||
eva => $status->station->{eva},
|
eva => $status->station->{eva},
|
||||||
meta => $status->station->{evas}
|
meta => $status->station->{evas} // []
|
||||||
);
|
);
|
||||||
$status = {
|
$status = {
|
||||||
station_eva => $status->station->{eva},
|
station_eva => $status->station->{eva},
|
||||||
|
|
Loading…
Reference in a new issue