more robust get_seed_text

This commit is contained in:
ThomasV 2014-04-22 15:12:36 +02:00
parent 5d9b9492e1
commit 671b1574b3
1 changed files with 3 additions and 1 deletions

View File

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