From 7024fed00226db9c73dd28fe4912c27756397787 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 2 Mar 2015 21:09:12 +1100 Subject: [PATCH] fix cont=False handling in sync --- anki/sync.py | 1 - aqt/sync.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/anki/sync.py b/anki/sync.py index 92dd506bd..9cf55ea1a 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -122,7 +122,6 @@ class Syncer(object): rts = meta['ts'] self.rmod = meta['mod'] self.maxUsn = meta['usn'] - self.mediaUsn = meta['musn'] self.syncMsg = meta['msg'] # this is a temporary measure to address the problem of users # forgetting which email address they've used - it will be removed diff --git a/aqt/sync.py b/aqt/sync.py index d4a6f74bc..f47559b65 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -367,8 +367,6 @@ class SyncThread(QThread): return self.fireEvent("clockOff") elif ret == "basicCheckFailed" or ret == "sanityCheckFailed": return self.fireEvent("checkFailed") - # note mediaUSN for later - self.mediaUsn = self.client.mediaUsn # full sync? if ret == "fullSync": return self._fullSync()