mirror of
https://github.com/beetbox/beets.git
synced 2025-12-23 17:13:30 +01:00
lint
This commit is contained in:
parent
16f8b47be3
commit
28614d94dc
1 changed files with 2 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue