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