mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 16:51:59 +00:00
Fix annoying lack of parenthesis at end of HTTPException
This commit is contained in:
parent
5ca04ea08f
commit
57312d96f7
@ -67,7 +67,7 @@ class HTTPException(DiscordException):
|
||||
if message is None:
|
||||
message = httplib.responses.get(response.status_code, 'HTTP error')
|
||||
|
||||
message = '{0} (status code: {1.response.status_code}'.format(message, self)
|
||||
message = '{0} (status code: {1.response.status_code})'.format(message, self)
|
||||
super(HTTPException, self).__init__(message)
|
||||
|
||||
class InvalidArgument(ClientException):
|
||||
|
Loading…
x
Reference in New Issue
Block a user