aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook.py
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-06-22 16:08:27 +0200
committerRapptz <[email protected]>2018-08-22 21:43:53 -0400
commitc8b49d37be8c4aabb2d5896708f9dff91ffae368 (patch)
treed0b49a0532a69f7c34b330d54cc57b65719ad1ea /discord/webhook.py
parent[lint] Remove unnecessary lambdas (diff)
downloaddiscord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.tar.xz
discord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.zip
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
Diffstat (limited to 'discord/webhook.py')
-rw-r--r--discord/webhook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/webhook.py b/discord/webhook.py
index 9d336aee..7fdcf0f8 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -222,7 +222,7 @@ class RequestsWebhookAdapter(WebhookAdapter):
data = utils.to_json(payload)
if multipart is not None:
- data = { 'payload_json': multipart.pop('payload_json') }
+ data = {'payload_json': multipart.pop('payload_json')}
for tries in range(5):
r = self.session.request(verb, url, headers=headers, data=data, files=multipart)