diff --git a/anki/sync.py b/anki/sync.py index dd63cb0fe..5d409a03e 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -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 ######################################################################