be more permissive with catching exceptions here as many varities possible.

This commit is contained in:
Amir Taaki 2012-08-27 03:12:43 +02:00
parent 9815fb5a70
commit f2fb235643
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ if __name__ == '__main__':
d = ast.literal_eval( data ) d = ast.literal_eval( data )
seed = d['seed'] seed = d['seed']
imported_keys = d.get('imported_keys',{}) imported_keys = d.get('imported_keys',{})
except IOError: except:
sys.exit("Error: Error with seed file") sys.exit("Error: Error with seed file")
mpk = wallet.master_public_key mpk = wallet.master_public_key