do not raise an error if user config file is corrupted
This commit is contained in:
parent
90a558e02c
commit
5a89734d6c
@ -154,7 +154,8 @@ a SimpleConfig instance then reads the wallet file.
|
|||||||
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
|
||||||
except Exception:
|
except Exception:
|
||||||
raise IOError("Cannot read config file.")
|
print_msg("Error: Cannot read config file.")
|
||||||
|
return
|
||||||
|
|
||||||
self.user_config = d
|
self.user_config = d
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user