mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
fix reference to cards
This commit is contained in:
parent
458c69e3ff
commit
798e0e255b
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ The input you have provided would make an empty
|
||||||
question or answer on all cards. Can't proceed."""), parent=self)
|
question or answer on all cards. Can't proceed."""), parent=self)
|
||||||
return
|
return
|
||||||
self.dialog.status.append(_("Added %(num)d card(s) for '%(str)s'.") % {
|
self.dialog.status.append(_("Added %(num)d card(s) for '%(str)s'.") % {
|
||||||
"num": len(cards),
|
"num": len(fact.cards),
|
||||||
# we're guaranteed that all fields will exist now
|
# we're guaranteed that all fields will exist now
|
||||||
"str": stripHTML(fact[fact.fields[0].name]),
|
"str": stripHTML(fact[fact.fields[0].name]),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue