git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Revert "Don't need two try/catch statments if nothing happens when exception is caught"
[electrum-nvc.git]
/
lib
/
wallet.py
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
bded27c
..
d81da53
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-694,7
+694,9
@@
class Wallet:
f = open(self.path,"r")
data = f.read()
f.close()
-
+ except:
+ return
+ try:
d = ast.literal_eval( data ) #parse raw data from reading wallet file
interface.old_to_new(d)