fix initial tag setting when adding cards

This commit is contained in:
Damien Elmes 2009-03-14 10:06:22 +09:00
parent f14ad8521d
commit b4b01f9fc4

View file

@ -919,6 +919,7 @@ and due < :now""", now=time.time())
for cardModel in cms:
card = anki.cards.Card(fact, cardModel)
self.flushMod()
self.updateCardTags([card.id])
self.updatePriority(card)
cards.append(card)
self.updateFactTags([fact.id])