From 8aadb18d4d5dc6be59e723fb02c7daa5b9b29471 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 26 Jan 2013 22:25:50 +0900 Subject: [PATCH] better warning when certs missing --- anki/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sync.py b/anki/sync.py index 8206e6046..b61fd662b 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -37,7 +37,7 @@ def httpCon(): os.path.dirname(os.path.abspath(sys.argv[0])), "../Resources/ankiweb.certs") else: - assert 0 + assert 0, "Your distro has not packaged Anki correctly." return httplib2.Http( timeout=HTTP_TIMEOUT, ca_certs=certs, proxy_info=HTTP_PROXY,