From 4c7d0c98cfadf89a609ef39d374ae58260b14499 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Fri, 3 Jan 2025 08:45:52 +0100 Subject: [PATCH] Clarify lastgenre _is_allowed docstring --- beetsplug/lastgenre/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index 7ad174bbf..209178198 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -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