From a27847de589e6557c72a6612ea2f2455ef249721 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 19 May 2015 14:26:33 +1000 Subject: [PATCH] DEV->ANKIDEV --- anki/sync.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anki/sync.py b/anki/sync.py index 41453d1dc..711f1bd3c 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -607,7 +607,7 @@ class RemoteServer(HttpSyncer): HttpSyncer.__init__(self, hkey) def syncURL(self): - if os.getenv("DEV"): + if os.getenv("ANKIDEV"): return "https://l1.ankiweb.net/sync/" return SYNC_BASE + "sync/" @@ -673,7 +673,7 @@ class FullSyncer(HttpSyncer): self.col = col def syncURL(self): - if os.getenv("DEV"): + if os.getenv("ANKIDEV"): return "https://l1.ankiweb.net/sync/" return SYNC_BASE + "sync/" @@ -857,7 +857,7 @@ class RemoteMediaServer(HttpSyncer): HttpSyncer.__init__(self, hkey, con) def syncURL(self): - if os.getenv("DEV"): + if os.getenv("ANKIDEV"): return "https://l1.ankiweb.net/msync/" return SYNC_MEDIA_BASE