mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 15:04:08 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
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…
Reference in a new issue