From a0bad7da456fa6466b34800d051ef0048d7eebd2 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 13 Mar 2015 17:06:34 +1100 Subject: [PATCH] update media url --- anki/consts.py | 1 + anki/sync.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/anki/consts.py b/anki/consts.py index d75c7b82e..40eaeef81 100644 --- a/anki/consts.py +++ b/anki/consts.py @@ -49,6 +49,7 @@ SCHEMA_VERSION = 11 SYNC_ZIP_SIZE = int(2.5*1024*1024) SYNC_ZIP_COUNT = 25 SYNC_BASE = "https://ankiweb.net/" +SYNC_MEDIA_BASE = "https://msync.ankiweb.net/" SYNC_VER = 8 HELP_SITE="http://ankisrs.net/docs/manual.html" diff --git a/anki/sync.py b/anki/sync.py index b87e2cd9d..41453d1dc 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -859,7 +859,7 @@ class RemoteMediaServer(HttpSyncer): def syncURL(self): if os.getenv("DEV"): return "https://l1.ankiweb.net/msync/" - return SYNC_BASE + "msync/" + return SYNC_MEDIA_BASE def begin(self): self.postVars = dict(