From a0ad19888ed39c4f9ec28a07eae7012b06ee9f2f Mon Sep 17 00:00:00 2001 From: Arslan Sakhapov Date: Sun, 14 Jul 2019 03:11:41 +0500 Subject: [PATCH] Fix typo --- aiogram/dispatcher/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/dispatcher/webhook.py b/aiogram/dispatcher/webhook.py index c56f20a6..bee635ae 100644 --- a/aiogram/dispatcher/webhook.py +++ b/aiogram/dispatcher/webhook.py @@ -261,7 +261,7 @@ class WebhookRequestHandler(web.View): if self.request.app.get('_check_ip', False): ip_address, accept = self.check_ip() if not accept: - log.warning(f"Blocking request from a unauthorized IP: {ip_address}") + log.warning(f"Blocking request from an unauthorized IP: {ip_address}") raise web.HTTPUnauthorized() # context.set_value('TELEGRAM_IP', ip_address)