mirror of
https://github.com/beetbox/beets.git
synced 2025-12-10 02:22:25 +01:00
lint
This commit is contained in:
parent
54af411b62
commit
decdb16a15
1 changed files with 1 additions and 2 deletions
|
|
@ -644,8 +644,7 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin):
|
|||
"""Fetch track audio features by its Spotify ID."""
|
||||
try:
|
||||
track_data = self._handle_response(
|
||||
requests.get, self.audio_features_url + \
|
||||
track_id)
|
||||
requests.get, self.audio_features_url + track_id)
|
||||
track_data.raise_for_status()
|
||||
except requests.exceptions.RequestException as e:
|
||||
self._log.debug('Audio feature update failed: {0}', str(e))
|
||||
|
|
|
|||
Loading…
Reference in a new issue