mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge branch 'master' of github.com:dae/anki
This commit is contained in:
commit
88b0a36610
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ def test_chained_mods():
|
||||||
#We replace the default Cloze template
|
#We replace the default Cloze template
|
||||||
t = mm.newTemplate("ChainedCloze")
|
t = mm.newTemplate("ChainedCloze")
|
||||||
t['qfmt'] = "{{cloze:text:Text}}"
|
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.addTemplate(m, t)
|
||||||
mm.save(m)
|
mm.save(m)
|
||||||
d.models.remTemplate(m, m['tmpls'][0])
|
d.models.remTemplate(m, m['tmpls'][0])
|
||||||
|
|
Loading…
Reference in a new issue