git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
90a558e
)
do not raise an error if user config file is corrupted
author
ThomasV
<thomasv@gitorious>
Tue, 3 Jun 2014 14:16:43 +0000 (16:16 +0200)
committer
ThomasV
<thomasv@gitorious>
Tue, 3 Jun 2014 14:16:43 +0000 (16:16 +0200)
lib/simple_config.py
patch
|
blob
|
history
diff --git
a/lib/simple_config.py
b/lib/simple_config.py
index
127b480
..
64807c7
100644
(file)
--- a/
lib/simple_config.py
+++ b/
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