mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix annoying lack of parenthesis at end of HTTPException
This commit is contained in:
1 parent
5ca04ea08f
commit
57312d96f7
1 file changed
+1
-1
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user