From 85e58d48a26463f0f370f5f051f65bb9451431af Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Tue, 12 Jul 2022 09:30:07 -0400 Subject: [PATCH] Update spotify.py --- beetsplug/spotify.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index b7df9dcf8..d3910523c 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -404,6 +404,7 @@ 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', [])