update priorities on export

This commit is contained in:
Damien Elmes 2009-03-29 11:53:44 +09:00
parent 58044f8586
commit 5ca9afa0da

View file

@ -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()