diff --git a/photo_bot/__pycache__/handlers.cpython-313.pyc b/photo_bot/__pycache__/handlers.cpython-313.pyc index 427a5a1..1dec9c5 100644 Binary files a/photo_bot/__pycache__/handlers.cpython-313.pyc and b/photo_bot/__pycache__/handlers.cpython-313.pyc differ diff --git a/photo_bot/handlers.py b/photo_bot/handlers.py index a983161..dd53d4b 100644 --- a/photo_bot/handlers.py +++ b/photo_bot/handlers.py @@ -230,9 +230,9 @@ async def photo_module_handler(msg: Message): await msg.answer(MENU_TEXT, parse_mode="html") return - # --- ПЕРВАЯ ПРОВЕРКА: если нет фото в pending_photos, проверяем статус модерации --- - # (в тестовом моде API не трогаем — фото никуда не публикуется) - if user_id not in pending_photos and not is_attachment and not config.PHOTO_TEST_MODE: + # --- ПРОВЕРКА СТАТУСА: если нет фото в pending_photos, проверяем статус модерации --- + # (в тестовом режиме статусы тоже показываем — поведение как в обычном режиме) + if user_id not in pending_photos and not is_attachment: status = await check_moderation_status(user_id) if status.get("status") == "ok" and status.get("moderation_status") == "pending": photo_id = status.get("photo_id", "???")