diff options
| author | Rapptz <[email protected]> | 2015-11-20 23:35:23 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-20 23:35:23 -0500 |
| commit | 57312d96f74f74d5031df99462038a32aab40933 (patch) | |
| tree | 7f43b30fc5c08121683fde66cc9cc82f1e659d9d | |
| parent | Use try-except instead of checking for membership. (diff) | |
| download | discord.py-57312d96f74f74d5031df99462038a32aab40933.tar.xz discord.py-57312d96f74f74d5031df99462038a32aab40933.zip | |
Fix annoying lack of parenthesis at end of HTTPException
| -rw-r--r-- | discord/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/errors.py b/discord/errors.py index 11ad21e9..a8450777 100644 --- a/discord/errors.py +++ b/discord/errors.py @@ -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): |