mirror of
https://github.com/ankitects/anki.git
synced 2025-11-15 00:57:13 -05:00
fix available card limiting when using %(tags)s, %(cardModel), etc
This commit is contained in:
parent
45dfc97e9f
commit
6bdca8b3c6
1 changed files with 5 additions and 1 deletions
|
|
@ -1435,7 +1435,11 @@ and due < :now""", now=time.time())
|
||||||
("a", cardModel.aformat)]:
|
("a", cardModel.aformat)]:
|
||||||
empty = {}
|
empty = {}
|
||||||
local = {}; local.update(fact)
|
local = {}; local.update(fact)
|
||||||
for k in fact.keys():
|
local['tags'] = u""
|
||||||
|
local['Tags'] = u""
|
||||||
|
local['cardModel'] = u""
|
||||||
|
local['modelName'] = u""
|
||||||
|
for k in local.keys():
|
||||||
empty[k] = u""
|
empty[k] = u""
|
||||||
empty["text:"+k] = u""
|
empty["text:"+k] = u""
|
||||||
local["text:"+k] = local[k]
|
local["text:"+k] = local[k]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue