Don't register non-existent tags

This commit is contained in:
luoliyan 2017-02-21 17:37:01 +09:30
parent 2539896b22
commit 2d40baa95f

View File

@ -89,6 +89,7 @@ class TagManager:
if not newTags: if not newTags:
return return
# cache tag names # cache tag names
if add:
self.register(newTags) self.register(newTags)
# find notes missing the tags # find notes missing the tags
if add: if add: