From 03fc29c4ac66d5ee8e485f3641a34b5b800f93a3 Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Sun, 19 Feb 2017 22:37:45 +0100 Subject: [PATCH] Remove newlines from transaction labels Closes: #2176 --- lib/wallet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/wallet.py b/lib/wallet.py index ba0da0a7..09ff9c78 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -235,6 +235,7 @@ class Abstract_Wallet(PrintError): changed = False old_text = self.labels.get(name) if text: + text = text.replace("\n", " ") if old_text != text: self.labels[name] = text changed = True