mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
Revert "Don't need two try/catch statments if nothing happens when exception is caught"
This reverts commit 6b86942ccb
.
This commit is contained in:
parent
5c4be3196a
commit
3d836ebc38
1 changed files with 3 additions and 1 deletions
|
@ -694,7 +694,9 @@ 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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue