IndentationError: unexpected unindent
Сделал код:
await state.update_data(here_position_owner=message.text)
@dp.message_handler(IsAdmin(), content_types="photo" state="here_position_photo")
async def product_position_create_photo(message: Message state: FSMContext):
async with state.proxy() as data:
position_name = clear_html(data['here_position_name'])
position_price = data['here_position_price']
category_id = data['here_cache_change_category_id']
position_description = data['here_position_description']
await state.finish()
Ошибка:
File "<string>", line 371
@dp.message_handler(IsAdmin(),
content_types="photo" state="here_position_photo")
IndentationError: unexpected unindent
Источник: Stack Overflow на русском