mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
dueTree() now gives us lrn separately
This commit is contained in:
parent
39eec87c0e
commit
73fa390cbb
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ body { margin: 1em; -webkit-user-select: none; }
|
||||||
return buf
|
return buf
|
||||||
|
|
||||||
def _deckRow(self, node, depth):
|
def _deckRow(self, node, depth):
|
||||||
name, did, due, new, children = node
|
name, did, due, lrn, new, children = node
|
||||||
|
due += lrn
|
||||||
def indent():
|
def indent():
|
||||||
return " "*3*depth
|
return " "*3*depth
|
||||||
if did == self.mw.col.conf['curDeck']:
|
if did == self.mw.col.conf['curDeck']:
|
||||||
|
|
Loading…
Reference in a new issue