commit f2fb2356433ebc1f0daf76b33d5564cc23cb2881
parent 9815fb5a70e1f36f41f4f21a5ffeff706ea52ef8
Author: Amir Taaki <genjix@riseup.net>
Date: Mon, 27 Aug 2012 03:12:43 +0200
be more permissive with catching exceptions here as many varities possible.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -357,7 +357,7 @@ if __name__ == '__main__':
d = ast.literal_eval( data )
seed = d['seed']
imported_keys = d.get('imported_keys',{})
- except IOError:
+ except:
sys.exit("Error: Error with seed file")
mpk = wallet.master_public_key