From 60ccdf8a7a98c748833fa0044a22b5b71df80641 Mon Sep 17 00:00:00 2001 From: yanyongyu <42488585+yanyongyu@users.noreply.github.com> Date: Sun, 30 Jan 2022 15:03:10 +0800 Subject: [PATCH] :bug: fix typing error for logger wrapper --- nonebot/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/utils.py b/nonebot/utils.py index 636ab75a..ca559684 100644 --- a/nonebot/utils.py +++ b/nonebot/utils.py @@ -148,7 +148,7 @@ class DataclassEncoder(json.JSONEncoder): return super().default(o) -def logger_wrapper(logger_name: str) -> Callable[[str, str, Optional[Exception]], None]: +def logger_wrapper(logger_name: str): """用于打印 adapter 的日志。 参数: