diff --git a/bbot/core/engine.py b/bbot/core/engine.py index ccd3493c78..9d42c9719f 100644 --- a/bbot/core/engine.py +++ b/bbot/core/engine.py @@ -640,9 +640,7 @@ async def finished_tasks(self, tasks, timeout=None): return done except BaseException as e: if isinstance(e, (TimeoutError, asyncio.exceptions.TimeoutError)): - self.log.warning( - f"{self.name}: Timeout after {timeout:,} seconds in finished_tasks({tasks})" - ) + self.log.warning(f"{self.name}: Timeout after {timeout:,} seconds in finished_tasks({tasks})") for task in tasks: task.cancel() else: