summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlok Saboo <arsaboo@gmx.com>2022-07-12 09:30:07 -0400
committerAlok Saboo <arsaboo@gmx.com>2022-07-12 09:30:07 -0400
commit85e58d48a26463f0f370f5f051f65bb9451431af (patch)
treed7f5bc5980bb229d5978ca9faff97dad5babd259
parent4e63c8893b58f7d513a1ae7546dfa5084a9e5308 (diff)
Update spotify.py
-rw-r--r--beetsplug/spotify.py1
1 files changed, 1 insertions, 0 deletions
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', [])