tMerge pull request #2178 from bauerj/issue-2176 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 139859ded3a3ba6f8f894ae1fe9e7223c9511c1f DIR parent d99855f06072c33cef144edce68acded561e339a HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 20 Feb 2017 06:58:53 +0100 Merge pull request #2178 from bauerj/issue-2176 Remove newlines from transaction labels Diffstat: M lib/wallet.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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