* Update callback_data_factory.py

* Update callback_data_factory_simple.py
This commit is contained in:
Forden 2020-08-05 15:06:02 +03:00 committed by GitHub
parent d1452b1620
commit 22094eb477
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ async def callback_vote_action(query: types.CallbackQuery, callback_data: dict):
@dp.errors_handler(exception=MessageNotModified) # handle the cases when this exception raises
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__':