mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't add two typeans fields on upgrade
This commit is contained in:
parent
dc73ba8e47
commit
a0d910201d
1 changed files with 2 additions and 1 deletions
|
@ -406,7 +406,8 @@ order by ordinal""", mid)):
|
|||
"(?i){{modelTags}}", "{{Model}}", conf[type])
|
||||
# type answer is now embedded in the format
|
||||
if typeAns:
|
||||
conf[type] += '<br>{{type:%s}}' % typeAns
|
||||
if type == "qfmt" or hideq:
|
||||
conf[type] += '<br>{{type:%s}}' % typeAns
|
||||
# q fields now in a
|
||||
if not hideq:
|
||||
conf['afmt'] = (
|
||||
|
|
Loading…
Reference in a new issue