Browse Source

do not raise an error if user config file is corrupted

283
ThomasV 11 years ago
parent
commit
5a89734d6c
  1. 3
      lib/simple_config.py

3
lib/simple_config.py

@ -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

Loading…
Cancel
Save