6526: Check for invalid handle
svn: r21651
This commit is contained in:
parent
c81336ae20
commit
f02e7f2580
@ -751,6 +751,7 @@ class MonitoredTagList(object):
|
|||||||
self.tag_list = []
|
self.tag_list = []
|
||||||
for handle in get_list():
|
for handle in get_list():
|
||||||
tag = self.db.get_tag_from_handle(handle)
|
tag = self.db.get_tag_from_handle(handle)
|
||||||
|
if tag:
|
||||||
self.tag_list.append((handle, tag.get_name()))
|
self.tag_list.append((handle, tag.get_name()))
|
||||||
|
|
||||||
self.all_tags = []
|
self.all_tags = []
|
||||||
|
Loading…
Reference in New Issue
Block a user