Update callback_data_factory_simple.py

This commit is contained in:
Forden 2020-08-05 14:52:33 +03:00 committed by GitHub
parent 4586ec56cd
commit b2b4938300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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__':