mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
lastgenre: Fix _load_whitelist return type bytes
This commit is contained in:
parent
bf903fc27d
commit
6ed17912b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue