From 798e0e255b7dc237deb0f1387f62a145bb57488e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 7 Dec 2008 11:39:51 +0900 Subject: [PATCH] fix reference to cards --- ankiqt/ui/addcards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/addcards.py b/ankiqt/ui/addcards.py index 70495ae23..a7b15d006 100644 --- a/ankiqt/ui/addcards.py +++ b/ankiqt/ui/addcards.py @@ -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]), })