From f3763b45afae101d9c7dd46a258462e59cf04acc Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 2 Oct 2013 03:33:45 +0200 Subject: [PATCH] fix --- lib/interface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/interface.py b/lib/interface.py index de3963f7f..b8a7ad7c0 100644 --- a/lib/interface.py +++ b/lib/interface.py @@ -308,9 +308,8 @@ class Interface(threading.Thread): do_handshake_on_connect=True) except ssl.SSLError, e: print_error("SSL error:", self.host, e) - # delete the certificate so we will download a new one - if is_new and e.errno == 1: + if is_new: os.unlink(cert_path) return except: