mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Fix class initialization
- make super python 2 compatible for SpotifyOauthError
This commit is contained in:
parent
901b2031a2
commit
7da89b3137
@ -32,7 +32,7 @@ class SpotifyOauthError(Exception):
|
|||||||
def __init__(self, message, error=None, error_description=None, *args, **kwargs):
|
def __init__(self, message, error=None, error_description=None, *args, **kwargs):
|
||||||
self.error = error
|
self.error = error
|
||||||
self.error_description = error_description
|
self.error_description = error_description
|
||||||
super().__init__(message, *args, **kwargs)
|
super(SpotifyOauthError, self).__init__(message, *args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def _make_authorization_headers(client_id, client_secret):
|
def _make_authorization_headers(client_id, client_secret):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user