electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5a89734d6c71dc922c05cb917298c41c29aa2d24
parent 90a558e02cd76e63feced594819d0124381fe4a7
Author: ThomasV <thomasv@gitorious>
Date:   Tue,  3 Jun 2014 16:16:43 +0200

do not raise an error if user config file is corrupted

Diffstat:
Mlib/simple_config.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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