From 6e0b8ccf86c5b3b8f8f59c10596e92bad63ab9a4 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 14 May 2015 11:51:56 -0400 Subject: [PATCH] DictionaryDb: emit add after actually adding (fixed typo) --- gramps/plugins/database/dictionarydb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/database/dictionarydb.py b/gramps/plugins/database/dictionarydb.py index 15009d584..5c167fe48 100644 --- a/gramps/plugins/database/dictionarydb.py +++ b/gramps/plugins/database/dictionarydb.py @@ -1168,7 +1168,7 @@ class DictionaryDb(DbWriteBase, DbReadBase, UpdateCallback, Callback): emit = None if not trans.batch: if note.handle in self.note_map: - emit "note-update" + emit = "note-update" else: emit = "note-add" self.note_map[note.handle] = note