mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
ignore duplicates in cloze+type answer
This commit is contained in:
parent
14a2321408
commit
92eb4e71d4
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ Please run Tools>Empty Cards""")
|
||||||
return txt
|
return txt
|
||||||
matches = [noHint(txt) for txt in matches]
|
matches = [noHint(txt) for txt in matches]
|
||||||
if len(matches) > 1:
|
if len(matches) > 1:
|
||||||
txt = ", ".join(matches)
|
txt = ", ".join(list(set(matches)))
|
||||||
else:
|
else:
|
||||||
txt = matches[0]
|
txt = matches[0]
|
||||||
return txt
|
return txt
|
||||||
|
|
Loading…
Reference in a new issue