mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
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.
This commit is contained in:
parent
8ca2fa6476
commit
1253dc3a3b
1 changed files with 0 additions and 2 deletions
|
@ -183,7 +183,6 @@ class Scheduler(SchedulerBaseWithLegacy):
|
||||||
# we need to check again for any cards that were
|
# we need to check again for any cards that were
|
||||||
# removed from the queue but not buried
|
# removed from the queue but not buried
|
||||||
if recursing:
|
if recursing:
|
||||||
print("bug: fillNew()")
|
|
||||||
return False
|
return False
|
||||||
self._reset_counts()
|
self._reset_counts()
|
||||||
self._resetNew()
|
self._resetNew()
|
||||||
|
@ -434,7 +433,6 @@ limit ?"""
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if recursing:
|
if recursing:
|
||||||
print("bug: fillRev2()")
|
|
||||||
return False
|
return False
|
||||||
self._reset_counts()
|
self._reset_counts()
|
||||||
self._resetRev()
|
self._resetRev()
|
||||||
|
|
Loading…
Reference in a new issue