fix reference to cards

This commit is contained in:
Damien Elmes 2008-12-07 11:39:51 +09:00
parent 458c69e3ff
commit 798e0e255b

View file

@ -110,7 +110,7 @@ The input you have provided would make an empty
question or answer on all cards. Can't proceed."""), parent=self)
return
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
"str": stripHTML(fact[fact.fields[0].name]),
})