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

This commit is contained in:
Jimbo77 2012-08-23 18:02:55 -07:00
parent 719b9d7d33
commit 6b86942ccb
1 changed files with 1 additions and 3 deletions

View File

@ -684,9 +684,7 @@ 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)
self.seed_version = d.get('seed_version')