From 671b1574b39ab2bb0c7b90740968f90ecc67ca0a Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 22 Apr 2014 15:12:36 +0200 Subject: [PATCH] more robust get_seed_text --- gui/qt/installwizard.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 9912dd11..1f857ef8 100644 --- 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):