diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py index 4a89e6dc8..5c8e0e2c5 100644 --- a/beets/autotag/hooks.py +++ b/beets/autotag/hooks.py @@ -297,7 +297,7 @@ class Distance(object): self._penalties = {} @LazyClassProperty - def _weights(self): + def _weights(cls): # noqa """A dictionary from keys to floating-point weights. """ weights_view = config['match']['distance_weights']