mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -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
|
# convert the field name to an ordinal
|
||||||
ordN = None
|
ordN = None
|
||||||
for (ord, fm) in enumerate(fmods[row[0]]):
|
for (ord, fm) in enumerate(fmods[row[0]]):
|
||||||
if fm['name'] == row[1]:
|
if fm['name'] == conf['typeAns']:
|
||||||
ordN = ord
|
ordN = ord
|
||||||
break
|
break
|
||||||
if ordN is not None:
|
if ordN is not None:
|
||||||
|
|
Loading…
Reference in a new issue