do not raise an error if user config file is corrupted
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user