mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
check built-in SSL more effectively
This commit is contained in:
parent
aa0b2d6d70
commit
3b2aafe004
@ -46,6 +46,7 @@ try:
|
||||
import socket
|
||||
assert ssl
|
||||
assert socket.ssl
|
||||
assert ssl.OPENSSL_VERSION
|
||||
HAS_SSL = True
|
||||
except (ImportError, AttributeError):
|
||||
from subprocess import Popen
|
||||
|
Loading…
Reference in New Issue
Block a user