From e175dcd2d82cede6229690f771c0033bf9465b72 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 7 Mar 2012 06:02:16 +0900 Subject: [PATCH] log total notes imported --- anki/importing/mnemo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anki/importing/mnemo.py b/anki/importing/mnemo.py index fa4d302c9..9d8b1cc62 100644 --- a/anki/importing/mnemo.py +++ b/anki/importing/mnemo.py @@ -77,8 +77,12 @@ acq_reps+ret_reps, lapses from cards"""): note['cards'] = {} note['cards'][ord] = c self._addFronts(front) + total = self.total self._addFrontBacks(frontback) + total += self.total self._addVocabulary(vocabulary) + self.total += total + self.log.append(_("%d notes imported.") % self.total) def fields(self): return self._fields