From 5ca9afa0dae91d5fc6a2cf042f6b93ae5accede9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 29 Mar 2009 11:53:44 +0900 Subject: [PATCH] update priorities on export --- anki/exporting.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anki/exporting.py b/anki/exporting.py index fa60ef437..3c31abc93 100644 --- a/anki/exporting.py +++ b/anki/exporting.py @@ -123,6 +123,7 @@ delete from stats""") bulkClient.sync() # need to save manually self.newDeck.rebuildCounts() + self.newDeck.updateAllPriorities() self.exportedCards = self.newDeck.cardCount self.newDeck.utcOffset = -1 self.newDeck.s.commit()