git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
83b885c
)
exit after seed message
author
thomasv
<thomasv@gitorious>
Thu, 31 Oct 2013 14:42:52 +0000 (15:42 +0100)
committer
thomasv
<thomasv@gitorious>
Thu, 31 Oct 2013 14:42:52 +0000 (15:42 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
e8b8b6c
..
c8f11a9
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-178,8
+178,11
@@
class Wallet:
if self.seed_version not in [4, 6]:
msg = "This wallet seed is not supported."
- if self.seed_version in [5]: msg += "\nTo open this wallet, try 'git checkout seed_v%d'"%self.seed_version
- raise ValueError(msg)
+ if self.seed_version in [5]:
+ msg += "\nTo open this wallet, try 'git checkout seed_v%d'"%self.seed_version
+ print msg
+ sys.exit(1)
+
self.load_accounts()