mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
update card priorities after fact tags updated
This commit is contained in:
parent
3c9ad98a44
commit
09e158ac74
1 changed files with 2 additions and 1 deletions
|
@ -935,9 +935,10 @@ and due < :now""", now=time.time())
|
|||
for cardModel in cms:
|
||||
card = anki.cards.Card(fact, cardModel)
|
||||
self.flushMod()
|
||||
self.updatePriority(card)
|
||||
cards.append(card)
|
||||
self.updateFactTags([fact.id])
|
||||
for card in cards:
|
||||
self.updatePriority(card)
|
||||
self.cardCount += len(cards)
|
||||
self.newCount += len(cards)
|
||||
# keep track of last used tags for convenience
|
||||
|
|
Loading…
Reference in a new issue