From 51d626eabef3b8310478c6a88c88b2a3cc290bde Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Thu, 9 Aug 2018 14:15:44 +0200 Subject: =?UTF-8?q?[lint]=C2=A0Remove=20redundant=20paranthesis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove redundant parenthisis around await expressions. Left over from f25091ef. --- discord/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/utils.py') diff --git a/discord/utils.py b/discord/utils.py index 705d5daa..bb1e4d53 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -271,7 +271,7 @@ def _parse_ratelimit_header(request): async def maybe_coroutine(f, *args, **kwargs): value = f(*args, **kwargs) if _isawaitable(value): - return (await value) + return await value else: return value -- cgit v1.2.3