From c1cb7a29411ac84f699876677fb7b8cec8cc5dbb Mon Sep 17 00:00:00 2001 From: Rahul Ahuja Date: Sat, 19 Jan 2019 19:29:35 -0800 Subject: [PATCH] address py3 compatibility later --- beetsplug/spotify.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(