summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-07-13 22:54:04 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-07-13 22:54:04 +0200
commitefd57ff706b4ec533c117af77fa46cc689c3f4b4 (patch)
tree5dfaaa903df3f71d59b67e2295a10aefb7c5e8fe /lib
parent15edc7456d313c0cca57601055cc1fddb8b001f1 (diff)
EFA: chomp info messages (avoid trailing newlines)
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Routing/DE/EFA.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index 282acbe..abdd997 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -519,6 +519,7 @@ sub parse_cur_info {
);
for my $key ( keys %msg ) {
$msg{$key} = decode( 'UTF-8', $msg{$key} );
+ chomp($msg{$key});
}
return Travel::Routing::DE::EFA::Route::Message->new(%msg);
}