Update spotify.py

This commit is contained in:
Alok Saboo 2022-07-12 09:30:07 -04:00
parent 4e63c8893b
commit 85e58d48a2

View file

@ -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', [])