fix black

This commit is contained in:
2026-02-01 23:05:46 +03:00
parent 9a6ab9a045
commit 5ff66993fa
44 changed files with 416 additions and 207 deletions

View File

@@ -25,8 +25,9 @@ def error_handler(func: Callable[..., Any]) -> Callable[..., Any]:
(arg for arg in args if isinstance(arg, types.Message)), None
)
if message and hasattr(message, "bot"):
from helper_bot.utils.base_dependency_factory import \
get_global_instance
from helper_bot.utils.base_dependency_factory import (
get_global_instance,
)
bdf = get_global_instance()
important_logs = bdf.settings["Telegram"]["important_logs"]