mirror of
https://github.com/beetbox/beets.git
synced 2026-02-21 23:03:26 +01:00
use canonical parent, not base tag (#478)
This commit is contained in:
parent
3338ef2ff2
commit
5fb7c424ad
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ def _strings_to_genre(tags):
|
|||
out = []
|
||||
for tag in tags:
|
||||
for parent in find_parents(tag, options['branches']):
|
||||
if _is_allowed(tag):
|
||||
out.append(tag)
|
||||
if _is_allowed(parent):
|
||||
out.append(parent)
|
||||
break
|
||||
tags = out
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue