diff options
| author | Hornwitser <[email protected]> | 2018-06-22 16:08:27 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-08-22 21:43:53 -0400 |
| commit | c8b49d37be8c4aabb2d5896708f9dff91ffae368 (patch) | |
| tree | d0b49a0532a69f7c34b330d54cc57b65719ad1ea /discord/abc.py | |
| parent | [lint] Remove unnecessary lambdas (diff) | |
| download | discord.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/abc.py')
| -rw-r--r-- | discord/abc.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |