mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e94e7630fa
commit
19be8cd0c0
@ -11,6 +11,8 @@ from contextlib import closing
|
|||||||
|
|
||||||
from calibre import get_proxies
|
from calibre import get_proxies
|
||||||
from calibre.constants import ispy3
|
from calibre.constants import ispy3
|
||||||
|
# On OS X PROTOCOL_TLSv1_2 is not available because the SSL library shipped
|
||||||
|
# with OS X is too old
|
||||||
has_ssl_verify = sys.version_info[:3] > (2, 7, 8)
|
has_ssl_verify = sys.version_info[:3] > (2, 7, 8)
|
||||||
|
|
||||||
class HTTPError(ValueError):
|
class HTTPError(ValueError):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user