diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index b1ebad1..66762f4 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -309,6 +309,11 @@ sub results { $info //= q{}; $routeinfo //= q{}; + # delayReason=" " means no delay reason + if ( $info eq q{ } ) { + $info = q{}; + } + $train =~ s{#.*$}{}; push( |