Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Nov 2, 2023
1 parent 3f6ab37 commit 972c240
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tags/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ async def run(self, seed_variables: dict, **kwargs) -> tse.Response:
cooldown_key=self.cooldown_key,
**kwargs,
)
if cog.async_enabled:
return await output
return output
return await output if cog.async_enabled else output

async def update_config(self) -> None:
if self._real_tag:
Expand Down

0 comments on commit 972c240

Please sign in to comment.