From 97752138452f89a65998ea593c4fa52b236e8df9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 15 Nov 2008 00:41:24 +0900 Subject: [PATCH] protocol 4 sync --- anki/sync.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anki/sync.py b/anki/sync.py index b07809056..cfa8abe66 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -38,7 +38,6 @@ from anki.lang import _ if simplejson.__version__ < "1.7.3": raise "SimpleJSON must be 1.7.3 or later." -# Protocol 3 code ########################################################################## class SyncTools(object): @@ -895,7 +894,7 @@ class HttpSyncServerProxy(SyncServer): self.password = passwd self.syncURL="http://anki.ichi2.net/sync/" #self.syncURL="http://localhost:8001/sync/" - self.protocolVersion = 3 + self.protocolVersion = 4 self.sourcesToCheck = [] def connect(self, clientVersion=""):