mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
don't need to removeFailed() when suspending
This commit is contained in:
parent
dc589a5c15
commit
ea64e4da1b
2 changed files with 0 additions and 2 deletions
|
@ -983,7 +983,6 @@ your short-term review workload will become."""))
|
|||
|
||||
def suspendCards(self, ids):
|
||||
"Suspend cards."
|
||||
self.removeFailed(ids)
|
||||
self.col.db.execute(
|
||||
"update cards set queue=-1,mod=?,usn=? where id in "+
|
||||
ids2str(ids), intTime(), self.col.usn())
|
||||
|
|
|
@ -428,7 +428,6 @@ def test_suspend():
|
|||
c.load()
|
||||
assert c.queue == 2
|
||||
assert c.type == 2
|
||||
assert c.due == 1
|
||||
|
||||
def test_cram():
|
||||
d = getEmptyDeck()
|
||||
|
|
Loading…
Reference in a new issue