mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
On OSX PROTOCOL_TLSv1_2 is not available as python is built against the system openssl which is too old
This commit is contained in:
parent
6a891948d3
commit
e94e7630fa
@ -11,7 +11,7 @@ from contextlib import closing
|
||||
|
||||
from calibre import get_proxies
|
||||
from calibre.constants import ispy3
|
||||
has_ssl_verify = hasattr(ssl, 'PROTOCOL_TLSv1_2') and sys.version_info[:3] > (2, 7, 8)
|
||||
has_ssl_verify = sys.version_info[:3] > (2, 7, 8)
|
||||
|
||||
class HTTPError(ValueError):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user