diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-08-20 14:52:22 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-08-20 14:52:22 +0200 |
commit | 8dd3185c5deec39ff1e636b3da4691aad5dd3673 (patch) | |
tree | 80dfb1fa99d23d8ab8caa4820e50df55d89c2503 /bin | |
parent | f9cf3d1a607ca145203b3447c6444e860d67dec8 (diff) |
efa-m: parse 'tram canceled' information (delay -9999)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa-m | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -135,7 +135,12 @@ sub show_results { } if ( $d->delay ) { - $dtime .= ' (+' . $d->delay . ')'; + if ($d->delay eq '-9999') { + $dtime .= ' CANCELED'; + } + else { + $dtime .= ' (+' . $d->delay . ')'; + } } push( @output, |