From c8b49d37be8c4aabb2d5896708f9dff91ffae368 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Fri, 22 Jun 2018 16:08:27 +0200 Subject: [lint] Fix incorrect and inconsistent whitespace Adjust whitespace to be consistent with the rest of the library. --- discord/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/webhook.py') 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) -- cgit v1.2.3