From 631e66d54f31da2843fd5fa7bac90ebf2176220b Mon Sep 17 00:00:00 2001 From: molanp <104612722+molanp@users.noreply.github.com> Date: Fri, 12 Sep 2025 16:41:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(htmlrender):=20=E6=9B=B4=E6=96=B0htmlrender?= =?UTF-8?q?=20=E5=AF=BC=E5=85=A5=20=E8=B7=AF=E5=BE=84=20(#2051)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 get_browser 的导入路径从 nonebot_plugin_htmlrender 更新为 nonebot_plugin_htmlrender.browser --- zhenxun/utils/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zhenxun/utils/browser.py b/zhenxun/utils/browser.py index 310ed606..10920c96 100644 --- a/zhenxun/utils/browser.py +++ b/zhenxun/utils/browser.py @@ -4,7 +4,7 @@ from pathlib import Path from typing import Any, Literal from nonebot_plugin_alconna import UniMessage -from nonebot_plugin_htmlrender import get_browser +from nonebot_plugin_htmlrender.browser import get_browser from playwright.async_api import Page from zhenxun.utils.message import MessageUtils