Merge branch 'master' of github.com:dae/anki

This commit is contained in:
Damien Elmes 2014-04-18 03:28:49 +09:00
commit 88b0a36610

View file

@ -194,7 +194,7 @@ def test_chained_mods():
#We replace the default Cloze template
t = mm.newTemplate("ChainedCloze")
t['qfmt'] = "{{cloze:text:Text}}"
t['afmt'] = "{{text:cloze:Text}}" #independent of the order of mods
t['afmt'] = "{{cloze:text:Text}}"
mm.addTemplate(m, t)
mm.save(m)
d.models.remTemplate(m, m['tmpls'][0])