mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 08:37:11 -05:00
fix cont=False handling in sync
This commit is contained in:
parent
0262da2700
commit
7024fed002
2 changed files with 0 additions and 3 deletions
|
|
@ -122,7 +122,6 @@ class Syncer(object):
|
||||||
rts = meta['ts']
|
rts = meta['ts']
|
||||||
self.rmod = meta['mod']
|
self.rmod = meta['mod']
|
||||||
self.maxUsn = meta['usn']
|
self.maxUsn = meta['usn']
|
||||||
self.mediaUsn = meta['musn']
|
|
||||||
self.syncMsg = meta['msg']
|
self.syncMsg = meta['msg']
|
||||||
# this is a temporary measure to address the problem of users
|
# this is a temporary measure to address the problem of users
|
||||||
# forgetting which email address they've used - it will be removed
|
# forgetting which email address they've used - it will be removed
|
||||||
|
|
|
||||||
|
|
@ -367,8 +367,6 @@ class SyncThread(QThread):
|
||||||
return self.fireEvent("clockOff")
|
return self.fireEvent("clockOff")
|
||||||
elif ret == "basicCheckFailed" or ret == "sanityCheckFailed":
|
elif ret == "basicCheckFailed" or ret == "sanityCheckFailed":
|
||||||
return self.fireEvent("checkFailed")
|
return self.fireEvent("checkFailed")
|
||||||
# note mediaUSN for later
|
|
||||||
self.mediaUsn = self.client.mediaUsn
|
|
||||||
# full sync?
|
# full sync?
|
||||||
if ret == "fullSync":
|
if ret == "fullSync":
|
||||||
return self._fullSync()
|
return self._fullSync()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue