accept proposed changes

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
This commit is contained in:
darksidecat 2021-10-05 23:40:19 +03:00 committed by GitHub
parent 8ad650bbe6
commit 5ac4048c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,8 +31,8 @@ class RequestLogging(BaseRequestMiddleware):
) -> Response[TelegramObject]:
if type(method) not in self.ignore_methods:
loggers.middlewares.info(
"Make request with method=%s by bot id=%d",
method.__class__.__name__,
"Make request with method=%r by bot id=%d",
type(method).__name__,
bot.id,
)
return await make_request(bot, method)