split seed words with newline too
authorecdsa <ecdsa@github>
Sun, 21 Apr 2013 17:53:27 +0000 (19:53 +0200)
committerecdsa <ecdsa@github>
Sun, 21 Apr 2013 17:53:27 +0000 (19:53 +0200)
gui/gui_classic.py

index aca1f62..cd8d32c 100644 (file)
@@ -2355,7 +2355,7 @@ class ElectrumGui:
             seed.decode('hex')
         except:
             try:
-                seed = mnemonic.mn_decode( seed.split(' ') )
+                seed = mnemonic.mn_decode( seed.split() )
             except:
                 QMessageBox.warning(None, _('Error'), _('I cannot decode this'), _('OK'))
                 return