From 1253dc3a3b084764aaf1279a213e6cc8f10d329d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 13 Feb 2022 14:09:58 +1000 Subject: [PATCH] drop the bug: lines in v2.py IIRC, it was triggered when the user doesn't have a valid current deck selected. currentRevLimit() sets default=False, but it is ignored and the default deck is returned instead. --- pylib/anki/scheduler/v2.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pylib/anki/scheduler/v2.py b/pylib/anki/scheduler/v2.py index 3c3626cc8..68c7ded76 100644 --- a/pylib/anki/scheduler/v2.py +++ b/pylib/anki/scheduler/v2.py @@ -183,7 +183,6 @@ class Scheduler(SchedulerBaseWithLegacy): # we need to check again for any cards that were # removed from the queue but not buried if recursing: - print("bug: fillNew()") return False self._reset_counts() self._resetNew() @@ -434,7 +433,6 @@ limit ?""" return True if recursing: - print("bug: fillRev2()") return False self._reset_counts() self._resetRev()