URI: 
       tfix connect on windows - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit ee141f6d37329ad0c68d419598acb710dc3403cf
   DIR parent 2321cb9bb36dbee442a88378b26bec0bebadc5df
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Mon, 11 Nov 2013 16:59:36 +0100
       
       fix connect on windows
       
       Diffstat:
         M lib/interface.py                    |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/interface.py b/lib/interface.py
       t@@ -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)