mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't include suspended cards in cram
This commit is contained in:
parent
0317e63cfb
commit
07c3297a9a
1 changed files with 1 additions and 0 deletions
|
@ -737,6 +737,7 @@ did = ? and queue = 2 and due <= ? limit ?""",
|
|||
# gather card ids and sort
|
||||
order = self._dynOrder(deck)
|
||||
limit = " limit %d" % deck['limit']
|
||||
search = deck['search'] + " -is:suspended"
|
||||
try:
|
||||
ids = self.col.findCards(deck['search'], order=order+limit)
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue