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:
@ -46,6 +46,7 @@ try:
|
|||||||
import socket
|
import socket
|
||||||
assert ssl
|
assert ssl
|
||||||
assert socket.ssl
|
assert socket.ssl
|
||||||
|
assert ssl.OPENSSL_VERSION
|
||||||
HAS_SSL = True
|
HAS_SSL = True
|
||||||
except (ImportError, AttributeError):
|
except (ImportError, AttributeError):
|
||||||
from subprocess import Popen
|
from subprocess import Popen
|
||||||
|
Reference in New Issue
Block a user