From 8305821488e717a22c5893a225306b660574ea19 Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Thu, 30 Oct 2025 10:34:30 -0400 Subject: [PATCH] more lint --- beetsplug/spotify.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index c937ed893..8225b45be 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -79,6 +79,7 @@ class APIError(Exception): class AudioFeaturesUnavailableError(Exception): """Raised when the audio features API returns 403 (deprecated/unavailable).""" + pass @@ -145,8 +146,12 @@ class SpotifyPlugin( self.config["client_id"].redact = True self.config["client_secret"].redact = True - self.audio_features_available = True # Track if audio features API is available - self._audio_features_lock = threading.Lock() # Protects audio_features_available + self.audio_features_available = ( + True # Track if audio features API is available + ) + self._audio_features_lock = ( + threading.Lock() + ) # Protects audio_features_available self.setup() def setup(self):