Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- await download_photo(user_id, message.photo[-1], quantity_sended_photos)
- except TimeoutError:
- await message.answer('Ошибка загрузки фото, повтори попытку...')
- await remove_photo(user_id, quantity_sended_photos)
- await message.answer('Выбери один из пресетов') # FIXME: цепани клавиатуру с выбором пресета
- redactor.add_filter(user_id, quantity_sended_photos)
- redacted_photo_path = f'data/photos/{user_id}_{quantity_sended_photos}_redacted.jpg'
- await message.answer_photo(redacted_photo_path, 'rb')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement