Clarify lastgenre _is_allowed docstring

This commit is contained in:
J0J0 Todos 2025-01-03 08:45:52 +01:00
parent 90c48ea8cf
commit 4c7d0c98cf

View file

@ -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