mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
protocol 4 sync
This commit is contained in:
parent
a3d305c30c
commit
9775213845
1 changed files with 1 additions and 2 deletions
|
@ -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=""):
|
||||
|
|
Loading…
Reference in a new issue