mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
make sure sync msg is saved before we abort sync
This commit is contained in:
parent
7024fed002
commit
67c86e8f5e
1 changed files with 1 additions and 1 deletions
|
@ -112,6 +112,7 @@ class Syncer(object):
|
||||||
if not meta:
|
if not meta:
|
||||||
return "badAuth"
|
return "badAuth"
|
||||||
# server requested abort?
|
# server requested abort?
|
||||||
|
self.syncMsg = meta['msg']
|
||||||
if not meta['cont']:
|
if not meta['cont']:
|
||||||
return "serverAbort"
|
return "serverAbort"
|
||||||
else:
|
else:
|
||||||
|
@ -122,7 +123,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.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
|
||||||
# when enough time has passed
|
# when enough time has passed
|
||||||
|
|
Loading…
Reference in a new issue