electrum

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

commit ee141f6d37329ad0c68d419598acb710dc3403cf
parent 2321cb9bb36dbee442a88378b26bec0bebadc5df
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 11 Nov 2013 16:59:36 +0100

fix connect on windows

Diffstat:
Mlib/interface.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/interface.py b/lib/interface.py @@ -362,7 +362,10 @@ class Interface(threading.Thread): if e.errno != 1: return if is_new: - os.rename(temporary_path, cert_path + '.rej') + rej = cert_path + '.rej' + if os.path.exists(rej): + os.unlink(rej) + os.rename(temporary_path, rej) else: if cert_has_expired(cert_path): print_error("certificate has expired:", cert_path)