From 4ecf76404607f7b24570943a6b35f054194b1a45 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 19 Oct 2008 20:25:03 +0900 Subject: [PATCH] reenable history syncing --- anki/sync.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/anki/sync.py b/anki/sync.py index 2d35d4288..53b691f93 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -591,7 +591,6 @@ values stat.toDB(self.deck.s) def bundleHistory(self): - return [] return self.realTuples(self.deck.s.all(""" select cardId, time, lastInterval, nextInterval, ease, delay, lastFactor, nextFactor, reps, thinkingTime, yesCount, noCount @@ -599,7 +598,6 @@ from reviewHistory where time > :ls""", ls=self.deck.lastSync)) def updateHistory(self, history): - return dlist = [{'cardId': h[0], 'time': h[1], 'lastInterval': h[2],