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
|
||||
matches = [noHint(txt) for txt in matches]
|
||||
if len(matches) > 1:
|
||||
txt = ", ".join(matches)
|
||||
txt = ", ".join(list(set(matches)))
|
||||
else:
|
||||
txt = matches[0]
|
||||
return txt
|
||||
|
|
Loading…
Reference in a new issue