From 5729e9e33645821798dd804e1b173ceab083cbbd Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 1 Jun 2020 19:44:19 +1000 Subject: [PATCH] "fix" v1 scheduler breaking after burySiblings change --- pylib/anki/sched.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pylib/anki/sched.py b/pylib/anki/sched.py index f530fc323..f4ac3248c 100644 --- a/pylib/anki/sched.py +++ b/pylib/anki/sched.py @@ -848,7 +848,9 @@ did = ?, queue = %s, due = ?, usn = ? where id = ?""" self.col.usn(), ) - def buryCards(self, cids: List[int]) -> None: # type: ignore[override] + def buryCards(self, cids: List[int], manual: bool = False) -> None: + # v1 only supported automatic burying + assert not manual self.col.log(cids) self.remFromDyn(cids) self.removeLrn(cids)