mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
address py3 compatibility later
This commit is contained in:
parent
8bdd927d20
commit
c1cb7a2941
1 changed files with 3 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue