mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 05:23:05 +01:00
Update exception
This commit is contained in:
parent
95243019e9
commit
12d9b1bd22
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin):
|
|||
time.sleep(int(seconds) + 1)
|
||||
return self._handle_response(request_type, url, params=params)
|
||||
elif 'analysis not found' in response.text:
|
||||
raise SpotifyAPIError("API Error {0.status_code} for {}"
|
||||
raise SpotifyAPIError("API Error {0.status_code} for {1}"
|
||||
.format(response, url))
|
||||
else:
|
||||
raise ui.UserError(
|
||||
|
|
|
|||
Loading…
Reference in a new issue