[lint] Remove redundant paranthesis

Remove redundant parenthisis around await expressions.  Left over from
f25091ef.
This commit is contained in:
Hornwitser
2018-08-09 14:15:44 +02:00
committed by Rapptz
parent 633192b3cd
commit 51d626eabe
8 changed files with 15 additions and 15 deletions

View File

@@ -228,7 +228,7 @@ class HelpFormatter:
cmd = tup[1]
try:
return (await cmd.can_run(self.context))
return await cmd.can_run(self.context)
except CommandError:
return False
@@ -274,7 +274,7 @@ class HelpFormatter:
"""
self.context = context
self.command = command_or_bot
return (await self.format())
return await self.format()
async def format(self):
"""Handles the actual behaviour involved with formatting.