git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
5d9b949
)
more robust get_seed_text
author
ThomasV
<thomasv@gitorious>
Tue, 22 Apr 2014 13:12:36 +0000 (15:12 +0200)
committer
ThomasV
<thomasv@gitorious>
Tue, 22 Apr 2014 13:12:36 +0000 (15:12 +0200)
gui/qt/installwizard.py
patch
|
blob
|
history
diff --git
a/gui/qt/installwizard.py
b/gui/qt/installwizard.py
index
9912dd1
..
1f857ef
100644
(file)
--- 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):