From afdbe38460a6da3c17d8ce87acfa2ffcf2425807 Mon Sep 17 00:00:00 2001 From: qLunar <100940270+qLunar@users.noreply.github.com> Date: Sat, 18 May 2024 18:25:21 +0530 Subject: [PATCH] fix: remove whitespace in arg --- chiya/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chiya/bot.py b/chiya/bot.py index 818b4a92..1bd0d4e2 100644 --- a/chiya/bot.py +++ b/chiya/bot.py @@ -66,7 +66,7 @@ def emit(self, record: logging.LogRecord) -> None: discord.utils.setup_logging(handler=InterceptHandler(),level=logging.getLevelName(config["bot"]["log_level"]), root=False) fmt = "{time:YYYY-MM-DD HH:mm:ss} | {level: <8} | {name} | {message}" - log.add(sys.stdout, format=fmt, level=log_level, backtrace= False) + log.add(sys.stdout, format=fmt, level=log_level, backtrace=False) log.add(os.path.join("logs", "bot.log"), format=fmt, rotation="1 day")