fix NoneType TypeError in deleteTag

This commit is contained in:
Yuming Zhu 2017-06-27 15:01:38 +08:00 committed by Mike McLean
parent 801e1662f4
commit 1be3a71f84

View file

@ -3137,7 +3137,7 @@ def _delete_tag(tagInfo):
update.make_revoke()
update.execute()
tag = get_tag(tagInfo)
tag = get_tag(tagInfo, strict=True)
tagID = tag['id']
_tagDelete('tag_config', tagID)