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:
Damien Elmes 2018-01-30 17:52:03 +10:00
parent 99009be1ca
commit bbccc4fd6b
2 changed files with 1 additions and 5 deletions

View file

@ -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"

View file

@ -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()