Merge pull request #168 from luoliyan/dont-register-nonexistent-tags
Don't register non-existent tags
This commit is contained in:
commit
7aa8499850
@ -89,7 +89,8 @@ class TagManager:
|
|||||||
if not newTags:
|
if not newTags:
|
||||||
return
|
return
|
||||||
# cache tag names
|
# cache tag names
|
||||||
self.register(newTags)
|
if add:
|
||||||
|
self.register(newTags)
|
||||||
# find notes missing the tags
|
# find notes missing the tags
|
||||||
if add:
|
if add:
|
||||||
l = "tags not "
|
l = "tags not "
|
||||||
|
Loading…
Reference in New Issue
Block a user