|
@ -691,10 +691,9 @@ class Wallet: |
|
|
|
|
|
|
|
|
self.file_exists = False |
|
|
self.file_exists = False |
|
|
try: |
|
|
try: |
|
|
f = open(self.path,"r") |
|
|
with open(self.path, "r") as f: |
|
|
data = f.read() |
|
|
data = f.read() |
|
|
f.close() |
|
|
except IOError: |
|
|
except: |
|
|
|
|
|
return |
|
|
return |
|
|
try: |
|
|
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 |
|
|