mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
more robust get_seed_text
This commit is contained in:
parent
5d9b9492e1
commit
671b1574b3
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ class InstallWizard(QDialog):
|
||||||
|
|
||||||
|
|
||||||
def get_seed_text(self, seed_e):
|
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):
|
def is_seed(self, seed_e):
|
||||||
|
|
Loading…
Add table
Reference in a new issue