DictionaryDb: emit add after actually adding (fixed typo)

This commit is contained in:
Doug Blank committed 2015-05-26 20:07:45 -04:00
1 parent d72ed91f21
commit d6d5ecdf5d
1 file changed
+1 -1
+1 -1
View File
@@ -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