git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c097b9a
)
fix
author
ThomasV
<thomasv@gitorious>
Wed, 2 Oct 2013 01:33:45 +0000 (
03:33
+0200)
committer
ThomasV
<thomasv@gitorious>
Wed, 2 Oct 2013 01:33:45 +0000 (
03:33
+0200)
lib/interface.py
patch
|
blob
|
history
diff --git
a/lib/interface.py
b/lib/interface.py
index
de3963f
..
b8a7ad7
100644
(file)
--- 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: