From e85603dae62721460f35991e87054befbfe36e8d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 4 Dec 2011 19:09:47 +0900 Subject: [PATCH] fix certs bundling --- anki/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/consts.py b/anki/consts.py index cb8d898c8..feae484a0 100644 --- a/anki/consts.py +++ b/anki/consts.py @@ -43,7 +43,7 @@ SYNC_HOST = os.environ.get("SYNC_HOST") or "dev.ankiweb.net" SYNC_PORT = int(os.environ.get("SYNC_PORT") or 80) SYNC_URL = "http://%s:%d/sync/" % (SYNC_HOST, SYNC_PORT) SYNC_VER = 0 -HTTP_CERTS = os.path.join(os.path.basename(__file__), "ankiweb.certs") +HTTP_CERTS = os.path.join(os.path.dirname(__file__), "ankiweb.certs") HTTP_TIMEOUT = 60 # deck schema