1
0

Merge pull request #2178 from bauerj/issue-2176

Remove newlines from transaction labels
This commit is contained in:
ThomasV
2017-02-20 06:58:53 +01:00
committed by GitHub

View File

@@ -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