electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3d836ebc385b1c9a3eca76b9d0d1a4165d68d46d
parent 5c4be3196a8e16a0048caf9a649db5338297f6ed
Author: Amir Taaki <genjix@riseup.net>
Date:   Fri, 24 Aug 2012 22:01:08 +0100

Revert "Don't need two try/catch statments if nothing happens when exception is caught"

This reverts commit 6b86942ccbb9c0d80f4af190343983440e859f4a.

Diffstat:
Mlib/wallet.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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)