models: Fix Tagable to correctly return TagTreeElement's and not Tags

master
Felix Stupp 3 years ago
parent 37e7d602e8
commit d32e8feddd
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -95,7 +95,7 @@ class Tagable:
for tag in cur.base.super_tags:
if tag not in used:
elem = TagTreeElement(tag)
cur.children.append(tag)
cur.children.append(elem)
stack.append(elem)
used.add(tag)
return root, used

Loading…
Cancel
Save