Use ListItem by default in ContentType helper.

This commit is contained in:
Alex Root Junior 2017-07-29 04:46:41 +03:00
parent 7c19634379
commit e90ca7cfae
2 changed files with 14 additions and 14 deletions

View file

@ -36,7 +36,7 @@ async def save_sticker(message: types.Message):
# Wait next message
# It can only be a sticker
msg = await dp.next_message(message,
content_types=[ContentType.STICKER],
content_types=ContentType.STICKER,
otherwise=handle_bad_message,
include_cancel=True)