mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge pull request #168 from luoliyan/dont-register-nonexistent-tags
Don't register non-existent tags
This commit is contained in:
commit
7aa8499850
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ class TagManager:
|
|||
if not newTags:
|
||||
return
|
||||
# cache tag names
|
||||
self.register(newTags)
|
||||
if add:
|
||||
self.register(newTags)
|
||||
# find notes missing the tags
|
||||
if add:
|
||||
l = "tags not "
|
||||
|
|
Loading…
Reference in a new issue