From 1036f0a3d32a647d7f884edd0ffcf094b1bd7b60 Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Thu, 23 Nov 2023 11:10:46 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- example/plugins/lua.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/plugins/lua.py b/example/plugins/lua.py index b337be1..e7bd022 100644 --- a/example/plugins/lua.py +++ b/example/plugins/lua.py @@ -51,7 +51,7 @@ def ask(self, message=None, timeout=10): await self.event.reply(result) except Exception as e: await self.event.reply(f"ERROR!{e!r}") - logger.info("ERROR with message: {}".format(e)) + logger.info(f"ERROR with message: {e}") async def rule(self) -> bool: return (