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
commit 139859ded3
1 changed files with 1 additions and 0 deletions

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