git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8175eae
)
strip spaces around private key
author
thomasv
<thomasv@gitorious>
Fri, 11 Jan 2013 17:01:40 +0000 (18:01 +0100)
committer
thomasv
<thomasv@gitorious>
Fri, 11 Jan 2013 17:01:40 +0000 (18:01 +0100)
lib/gui_qt.py
patch
|
blob
|
history
diff --git
a/lib/gui_qt.py
b/lib/gui_qt.py
index
25fab48
..
cb2ed59
100644
(file)
--- a/
lib/gui_qt.py
+++ b/
lib/gui_qt.py
@@
-1631,7
+1631,7
@@
class ElectrumWindow(QMainWindow):
text, ok = QInputDialog.getText(self, _('Import private key'), _('Private Key') + ':')
if not ok: return
- sec = str(text)
+ sec = str(text).strip()
if self.wallet.use_encryption:
password = self.password_dialog()
if not password: