mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
disable explicit ca_certs
may have added this to support beta.ankiweb.net as python doesn't support SNI, but it prevents changing cert
This commit is contained in:
parent
2802d074bb
commit
fcc4df821f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ def httpCon():
|
||||||
else:
|
else:
|
||||||
assert 0, "Your distro has not packaged Anki correctly."
|
assert 0, "Your distro has not packaged Anki correctly."
|
||||||
return httplib2.Http(
|
return httplib2.Http(
|
||||||
timeout=HTTP_TIMEOUT, ca_certs=certs,
|
timeout=HTTP_TIMEOUT, #ca_certs=certs,
|
||||||
proxy_info=HTTP_PROXY,
|
proxy_info=HTTP_PROXY,
|
||||||
disable_ssl_certificate_validation=not not HTTP_PROXY)
|
disable_ssl_certificate_validation=not not HTTP_PROXY)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue