more robust get_seed_text
This commit is contained in:
parent
5d9b9492e1
commit
671b1574b3
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue