mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
disable cert check when running through proxy
This commit is contained in:
parent
b2457811a2
commit
cc9bbb2ab7
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ def httpCon():
|
|||
assert 0
|
||||
return httplib2.Http(
|
||||
timeout=HTTP_TIMEOUT, ca_certs=certs,
|
||||
proxy_info=HTTP_PROXY)
|
||||
proxy_info=HTTP_PROXY,
|
||||
disable_ssl_certificate_validation=not not HTTP_PROXY)
|
||||
|
||||
# Proxy handling
|
||||
######################################################################
|
||||
|
|
Loading…
Reference in a new issue