From 28614d94dc8a78d5012d97a56406fe360aa67c67 Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Tue, 12 Jul 2022 10:32:55 -0400 Subject: [PATCH] lint --- beetsplug/spotify.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index d3910523c..be9a8509e 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -405,10 +405,8 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin): except SpotifyAPIError as e: self._log.debug('Spotify API error: {}', e) return None - response_data = (response - .get(query_type + 's', {}) - .get('items', []) - ) + response_data = (response.get(query_type + 's', {}) + .get('items', [])) self._log.debug( "Found {} result(s) from {} for '{}'", len(response_data),