Skip to content

Commit d938043

Browse files
committed
Fix new card fill method wrapping for Anki 2.1.35.
1 parent a137e10 commit d938043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

morph/newMorphHelper.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ def focus(n): return n[focusName()]
3737

3838

3939
########## 6 parent deck pulls new cards from all children instead of sequentially (ie. mostly first)
40-
def my_fillNew(self, _old):
40+
def my_fillNew(self, recursing=False, _old=None):
4141
"""If 'new card merged fill' is enabled for the current deck, when we refill we
4242
pull from all child decks, sort combined pool of cards, then limit.
4343
If disabled, do the standard sequential fill method"""
4444
def C(key): return cfg(key, None, self.col.decks.active()[0])
4545

4646
if not C('new card merged fill'):
47-
return _old(self)
47+
return _old(self, recursing)
4848

4949
if self._newQueue:
5050
return True

0 commit comments

Comments
 (0)