Revert "Don't need two try/catch statments if nothing happens when exception is caught"
This reverts commit 6b86942ccb.
This commit is contained in:
@@ -694,7 +694,9 @@ class Wallet:
|
|||||||
f = open(self.path,"r")
|
f = open(self.path,"r")
|
||||||
data = f.read()
|
data = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
except:
|
||||||
|
return
|
||||||
|
try:
|
||||||
d = ast.literal_eval( data ) #parse raw data from reading wallet file
|
d = ast.literal_eval( data ) #parse raw data from reading wallet file
|
||||||
interface.old_to_new(d)
|
interface.old_to_new(d)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user