From 7a5cfa8f466bcb2af23f55a61f79b440378b3ec6 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Sun, 7 Sep 2025 22:59:08 +0200 Subject: [PATCH] lastgerne: Update wl/tree load methods docstrings --- beetsplug/lastgenre/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index cd385677f..8c09eefea 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -117,7 +117,7 @@ class LastGenrePlugin(plugins.BeetsPlugin): def _load_whitelist(self) -> set[str]: """Load the whitelist from a text file. - Default whitelist is used if config is True or empty string. + Default whitelist is used if config is True, empty string or set to "nothing". """ whitelist = set() wl_filename = self.config["whitelist"].get() @@ -135,8 +135,8 @@ class LastGenrePlugin(plugins.BeetsPlugin): def _load_c14n_tree(self) -> tuple[list[list[str]], bool]: """Load the canonicalization tree from a YAML file. - Default tree is used if config is True or empty string, or if - prefer_specific is enabled. + Default tree is used if config is True, empty string, set to "nothing" + or if prefer_specific is enabled. """ c14n_branches: list[list[str]] = [] c14n_filename = self.config["canonical"].get()