From 4586ec56cd1a02c2a8f58ab8ebe4e84e1e53ffb7 Mon Sep 17 00:00:00 2001 From: Forden Date: Wed, 5 Aug 2020 14:51:32 +0300 Subject: [PATCH] Update callback_data_factory.py --- examples/callback_data_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/callback_data_factory.py b/examples/callback_data_factory.py index 9a8affe9..2335ea95 100644 --- a/examples/callback_data_factory.py +++ b/examples/callback_data_factory.py @@ -112,7 +112,7 @@ async def query_post_vote(query: types.CallbackQuery, callback_data: dict): @dp.errors_handler(exception=MessageNotModified) async def message_not_modified_handler(update, error): - return True + return True # errors_handler must return True if error was handled correctly if __name__ == '__main__':