From 39600bcbbbb3ec143e9f36f1bfa7e1d7ab1c35e7 Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Tue, 17 May 2022 14:50:34 -0400 Subject: [PATCH] Update beetsplug/spotify.py Co-authored-by: Adrian Sampson --- beetsplug/spotify.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index 868a2c0f8..460f57c1e 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -612,8 +612,7 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin): requests.get, self.track_url + track_id ) self._log.debug('track_data: {}', track_data['popularity']) - track_popularity = track_data['popularity'] - return track_popularity + return track_data['popularity'] def track_audio_features(self, track_id=None): """Fetch track audio features by its Spotify ID."""