diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-01-26 19:17:09 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-01-26 19:17:09 +0100 |
commit | 39a2e3814c1cd9e1b32fe4952da395a4878f986b (patch) | |
tree | 8d37e83fbad7e17fe006bb27efa2de82e61fe1d4 | |
parent | bfcb61caf8a5aadd5f750f1a7312a07f1ba3ee65 (diff) |
db-iris: Fix warnings when encountering unplanned result without platform
-rw-r--r-- | Changelog | 5 | ||||
-rwxr-xr-x | bin/db-iris | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +git HEAD + + * Fix warnings when encountering unplanned (fchg-only) trains without + arrival or departure platform + Travel::Status::DE::IRIS 0.01 - Fri Jan 24 2014 * Initial release. Experimental, API may change without notice diff --git a/bin/db-iris b/bin/db-iris index 147119d..baf7627 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -247,7 +247,7 @@ for my $d ( $status->results() ) { [ $timestr, $d->train, $edata{route} ? join( q{ }, $d->route_interesting ) : q{}, - $d->route_end, $d->platform, $d + $d->route_end, $d->platform // q{}, $d ] ); } |