From f2fb2356433ebc1f0daf76b33d5564cc23cb2881 Mon Sep 17 00:00:00 2001 From: Amir Taaki Date: Mon, 27 Aug 2012 03:12:43 +0200 Subject: [PATCH] be more permissive with catching exceptions here as many varities possible. --- electrum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum b/electrum index 69cdb5633..d87d276a3 100755 --- 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