aboutsummaryrefslogtreecommitdiff
path: root/discord/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/errors.py')
-rw-r--r--discord/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/errors.py b/discord/errors.py
index fbdff0aa..72470510 100644
--- a/discord/errors.py
+++ b/discord/errors.py
@@ -104,7 +104,7 @@ class HTTPException(DiscordException):
fmt = '{0.status} {0.reason} (error code: {1})'
if len(self.text):
- fmt = fmt + ': {2}'
+ fmt += ': {2}'
super().__init__(fmt.format(self.response, self.code, self.text))