mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
better warning when certs missing
This commit is contained in:
parent
439130d58a
commit
8aadb18d4d
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def httpCon():
|
||||||
os.path.dirname(os.path.abspath(sys.argv[0])),
|
os.path.dirname(os.path.abspath(sys.argv[0])),
|
||||||
"../Resources/ankiweb.certs")
|
"../Resources/ankiweb.certs")
|
||||||
else:
|
else:
|
||||||
assert 0
|
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,
|
||||||
|
|
Loading…
Reference in a new issue