aboutsummaryrefslogtreecommitdiff
path: root/discord/utils.py
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-08-09 14:15:44 +0200
committerRapptz <[email protected]>2018-11-24 22:17:58 -0500
commit51d626eabef3b8310478c6a88c88b2a3cc290bde (patch)
tree40a38eba637723fa59d38bb9c7c1d8782abf76f4 /discord/utils.py
parent[lint] Replace equality comparisons to singletons (diff)
downloaddiscord.py-51d626eabef3b8310478c6a88c88b2a3cc290bde.tar.xz
discord.py-51d626eabef3b8310478c6a88c88b2a3cc290bde.zip
[lint] Remove redundant paranthesis
Remove redundant parenthisis around await expressions. Left over from f25091ef.
Diffstat (limited to 'discord/utils.py')
-rw-r--r--discord/utils.py2
1 files changed, 1 insertions, 1 deletions
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