mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04: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)]:
|
||||
empty = {}
|
||||
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["text:"+k] = u""
|
||||
local["text:"+k] = local[k]
|
||||
|
|
Loading…
Reference in a new issue