From 3d43d4703404590fa1c75ea33aca031502582950 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Thu, 10 Feb 2022 16:26:41 +0800 Subject: [PATCH] disable update browser. (really!!) --- src/plugins/nonebot_bison/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/nonebot_bison/utils.py b/src/plugins/nonebot_bison/utils.py index 1570f5e..63774d7 100644 --- a/src/plugins/nonebot_bison/utils.py +++ b/src/plugins/nonebot_bison/utils.py @@ -43,6 +43,7 @@ def download_browser(): raise RuntimeError("platform not supported") if browser_path.exists() and os.listdir(str(browser_path)): logger.warning("Browser Exists, skip") + return env = os.environ.copy() driver_executable = compute_driver_executable() env["PW_CLI_TARGET_LANG"] = "python"