mirror of
https://github.com/beetbox/beets.git
synced 2026-01-29 11:35:27 +01:00
parent
7621ae4280
commit
4038f191da
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ class LastGenrePlugin(plugins.BeetsPlugin):
|
|||
|
||||
# Filter by weight (optionally).
|
||||
if min_weight:
|
||||
res = [el for el in res if (int(el.weight) or 0) >= min_weight]
|
||||
res = [el for el in res if (int(el.weight or 0)) >= min_weight]
|
||||
|
||||
# Get strings from tags.
|
||||
res = [el.item.get_name().lower() for el in res]
|
||||
|
|
|
|||
Loading…
Reference in a new issue