Fix class initialization

- make super python 2 compatible for SpotifyOauthError
This commit is contained in:
Yasser Sinjab 2020-05-27 23:38:44 +03:00
parent 901b2031a2
commit 7da89b3137

View File

@ -32,7 +32,7 @@ class SpotifyOauthError(Exception):
def __init__(self, message, error=None, error_description=None, *args, **kwargs):
self.error = error
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):