mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix upgrading of type answer
This commit is contained in:
parent
f26c6f76bc
commit
15737959f5
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ order by modelId, ordinal"""):
|
|||
# convert the field name to an ordinal
|
||||
ordN = None
|
||||
for (ord, fm) in enumerate(fmods[row[0]]):
|
||||
if fm['name'] == row[1]:
|
||||
if fm['name'] == conf['typeAns']:
|
||||
ordN = ord
|
||||
break
|
||||
if ordN is not None:
|
||||
|
|
Loading…
Reference in a new issue