mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 11:02:43 +01:00
Merge pull request #1559 from svoos/develop
Bugfix: Minimum popularity factor had been ignored
This commit is contained in:
commit
fbe76a703d
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 (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