Skip to content

Commit b740c85

Browse files
JOJ0Copilot
andcommitted
Remove currently unused self._log
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 676fa01 commit b740c85

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

beetsplug/lastgenre/loaders.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class DataFileLoader:
3636

3737
def __init__(
3838
self,
39-
log: Logger,
4039
whitelist: Whitelist,
4140
c14n_branches: CanonTree,
4241
canonicalize: bool,
@@ -45,7 +44,6 @@ def __init__(
4544
4645
Use from_config() classmethod to construct from plugin config.
4746
"""
48-
self._log = log
4947
self.whitelist = whitelist
5048
self.c14n_branches = c14n_branches
5149
self.canonicalize = canonicalize
@@ -78,7 +76,7 @@ def from_config(
7876
config["prefer_specific"].get(bool),
7977
)
8078

81-
return cls(log, whitelist, c14n_branches, canonicalize)
79+
return cls(whitelist, c14n_branches, canonicalize)
8280

8381
@staticmethod
8482
def _load_whitelist(

0 commit comments

Comments
 (0)