mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
enable syncing w/ v2 scheduler, and bump sync version
any client using a sync version of 9 must be able to handle the V2 scheduler
This commit is contained in:
parent
99009be1ca
commit
bbccc4fd6b
2 changed files with 1 additions and 5 deletions
|
@ -52,7 +52,7 @@ SYNC_ZIP_SIZE = int(2.5*1024*1024)
|
|||
SYNC_ZIP_COUNT = 25
|
||||
SYNC_BASE = "https://sync.ankiweb.net/"
|
||||
SYNC_MEDIA_BASE = "https://sync.ankiweb.net/msync/"
|
||||
SYNC_VER = 8
|
||||
SYNC_VER = 9
|
||||
|
||||
HELP_SITE="http://ankisrs.net/docs/manual.html"
|
||||
|
||||
|
|
|
@ -36,10 +36,6 @@ class Syncer:
|
|||
# time
|
||||
self.col.save()
|
||||
|
||||
if self.col.schedVer() != 1:
|
||||
self.syncMsg = "Experimental scheduler currently doesn't support syncing."
|
||||
return "serverAbort"
|
||||
|
||||
# step 1: login & metadata
|
||||
runHook("sync", "login")
|
||||
meta = self.server.meta()
|
||||
|
|
Loading…
Reference in a new issue