Browse Source

fix connect on windows

283
ThomasV 11 years ago
parent
commit
ee141f6d37
  1. 5
      lib/interface.py

5
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)

Loading…
Cancel
Save