mirror of
https://github.com/beetbox/beets.git
synced 2026-01-06 16:02:53 +01:00
Clarify lastgenre _is_allowed docstring
This commit is contained in:
parent
90c48ea8cf
commit
4c7d0c98cf
1 changed files with 2 additions and 2 deletions
|
|
@ -256,8 +256,8 @@ class LastGenrePlugin(plugins.BeetsPlugin):
|
|||
return resolved
|
||||
|
||||
def _is_allowed(self, genre):
|
||||
"""Determine whether the genre is present in the whitelist,
|
||||
returning a boolean.
|
||||
"""Returns True if the genre is in the whitelist or the whitelist
|
||||
feature is disabled.
|
||||
"""
|
||||
if genre is None:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in a new issue