summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-26 15:41:47 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-26 15:41:47 +0100
commit8a0f122a427aab5b0c505ffb2252d05176767c55 (patch)
tree6eb2e4e004a0f4fe998272d8618a07af43b6bdd5
parentd974ccbe43b20a4e41734a2ea8b71f9d474ed4e5 (diff)
Fix db-wagenreihung for terminal stops
-rwxr-xr-xbin/db-wagenreihung2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-wagenreihung b/bin/db-wagenreihung
index a885953..959e217 100755
--- a/bin/db-wagenreihung
+++ b/bin/db-wagenreihung
@@ -65,7 +65,7 @@ if ( @trains != 1 ) {
}
my $wr = Travel::Status::DE::DBWagenreihung->new(
- departure => $trains[0]->sched_departure,
+ departure => $trains[0]->sched_departure || $trains[0]->sched_arrival,
developer_mode => $developer_mode,
train_number => $train_number,
);