Small fix in translated pages

This commit is contained in:
Alex Root Junior 2022-10-18 02:12:24 +03:00
parent 6e31f93951
commit 01028f10eb
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
7 changed files with 51 additions and 31 deletions

View file

@ -70,7 +70,7 @@ def ip_filter_middleware(
async def _ip_filter_middleware(request: web.Request, handler: Handler) -> Any:
ip_address, accept = check_ip(ip_filter=ip_filter, request=request)
if not accept:
loggers.webhook.warning(f"Blocking request from an unauthorized IP: {ip_address}")
loggers.webhook.warning("Blocking request from an unauthorized IP: %s", ip_address)
raise web.HTTPUnauthorized()
return await handler(request)