Update callback_data_factory.py

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

View file

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