1
0

do not raise an error if user config file is corrupted

This commit is contained in:
ThomasV
2014-06-03 16:16:43 +02:00
parent 90a558e02c
commit 5a89734d6c

View File

@@ -154,7 +154,8 @@ a SimpleConfig instance then reads the wallet file.
try:
d = ast.literal_eval( data ) #parse raw data from reading wallet file
except Exception:
raise IOError("Cannot read config file.")
print_msg("Error: Cannot read config file.")
return
self.user_config = d