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/abc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/abc.py') diff --git a/discord/abc.py b/discord/abc.py index 002980a4..d4aa4956 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -742,7 +742,7 @@ class Messageable(metaclass=abc.ABCMeta): try: data = await state.http.send_files(channel.id, files=[(file.open_file(), file.filename)], - content=content, tts=tts, embed=embed, nonce=nonce) + content=content, tts=tts, embed=embed, nonce=nonce) finally: file.close() @@ -753,7 +753,7 @@ class Messageable(metaclass=abc.ABCMeta): try: param = [(f.open_file(), f.filename) for f in files] data = await state.http.send_files(channel.id, files=param, content=content, tts=tts, - embed=embed, nonce=nonce) + embed=embed, nonce=nonce) finally: for f in files: f.close() -- cgit v1.2.3