diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index e51d32643..caaa06a55 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -68,10 +68,10 @@ class SpotifyPlugin(BeetsPlugin): 'Authorization': 'Basic {}'.format( base64.b64encode( '{}:{}'.format( - self.config['client_id'].as_str().encode(), - self.config['client_secret'].as_str().encode(), + self.config['client_id'].as_str(), + self.config['client_secret'].as_str(), ) - ).decode() + ) ) } response = requests.post(