commit 671b1574b39ab2bb0c7b90740968f90ecc67ca0a parent 5d9b9492e16fce6c61332dd1cc3a37978a033ad1 Author: ThomasV <thomasv@gitorious> Date: Tue, 22 Apr 2014 15:12:36 +0200 more robust get_seed_text Diffstat:
M | gui/qt/installwizard.py | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py @@ -85,7 +85,9 @@ class InstallWizard(QDialog): def get_seed_text(self, seed_e): - return unicode(seed_e.toPlainText()) + text = unicode(seed_e.toPlainText()).lower().strip() + text = ' '.join(text.split()) + return text def is_seed(self, seed_e):