From a52e740ef6f381656a94623b216eababa995e597 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 6 May 2012 17:34:04 +0900 Subject: [PATCH] log added and updated notes separately --- anki/importing/noteimp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anki/importing/noteimp.py b/anki/importing/noteimp.py index 9b1704f8e..abda40a9e 100644 --- a/anki/importing/noteimp.py +++ b/anki/importing/noteimp.py @@ -150,6 +150,8 @@ class NoteImporter(Importer): # apply scheduling updates self.updateCards() # make sure to update sflds, etc + self.log.append(_("%(a)d notes added, %(b)d notes updated.") % + dict(a=len(new), b=len(updates))) self.total = len(self._ids) def newData(self, n):