Fix typo with self
This commit is contained in:
parent
65fe4d36ac
commit
a1802ae447
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class Client(object):
|
|||
def _compose_url(self, path):
|
||||
return '{0}/{1}'.format(self.base_url, path)
|
||||
|
||||
def _handle_error(sefl, response):
|
||||
def _handle_error(self, response):
|
||||
# Handle explicit errors.
|
||||
if response.status_code == 429:
|
||||
raise ThrottlingError()
|
||||
|
|
|
|||
Loading…
Reference in a new issue