Skip to content

Commit

Permalink
fix handlers logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatemyself0 authored Jul 7, 2024
1 parent b790ed7 commit 451d069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgram/tgbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def add_handler(self, handler: "tgram.handlers.Handler") -> None:
logger.info(
"(%s) added to %s handlers",
handler.callback.__name__,
"Update." + handler.type if handler.type != "all" else "all",
("Update." + handler.type if handler.type != "all") else "all",
)
self._handlers.append(handler)

Expand Down

0 comments on commit 451d069

Please sign in to comment.