lastgenre: Fix _load_whitelist return type bytes

This commit is contained in:
J0J0 Todos 2025-08-30 20:18:06 +02:00
parent bf903fc27d
commit 6ed17912b4

View file

@ -114,7 +114,7 @@ class LastGenrePlugin(plugins.BeetsPlugin):
self.whitelist = self._load_whitelist()
self.c14n_branches, self.canonicalize = self._load_c14n_tree()
def _load_whitelist(self) -> set[str]:
def _load_whitelist(self) -> set[bytes]:
whitelist = set()
wl_filename = self.config["whitelist"].get()
if wl_filename in (True, ""): # Indicates the default whitelist.