From 009f731532179a52c0f340894ee5d2f0da1ce1e6 Mon Sep 17 00:00:00 2001 From: darksidecat <58224121+darksidecat@users.noreply.github.com> Date: Sat, 21 Aug 2021 15:06:35 +0300 Subject: [PATCH] fix typo --- aiogram/types/update.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aiogram/types/update.py b/aiogram/types/update.py index 786dcc43..013ac5d7 100644 --- a/aiogram/types/update.py +++ b/aiogram/types/update.py @@ -59,11 +59,10 @@ class Update(TelegramObject): Detect content type Return update type and content - If update type unknown raise UpdateTypeLookupError + If update type is unknown, raise UpdateTypeLookupError :return: """ - event: TelegramObject if self.message: return "message", self.message if self.edited_message: