diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index bd8f02814..bc1508e49 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -296,10 +296,7 @@ class SpotifyPlugin( ) time.sleep(DEFAULT_WAITING_TIME + 1) return self._handle_response( - method, - url, - params=params, - retry_count=retry_count + 1, + method, url, params=params, retry_count=retry_count + 1 ) if e.response.status_code == 502: self._log.error("Bad Gateway.")