From 3d7e7b7562d30b0a6004782e809c7dd7094c40e4 Mon Sep 17 00:00:00 2001 From: shengchenyang <15538221825@163.com> Date: Fri, 3 Nov 2023 15:11:23 +0800 Subject: [PATCH] =?UTF-8?q?VIT=5FDIR=20=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E5=AD=98=E5=85=A5=20settings=20=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ayugespidertools/scraper/spiders/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ayugespidertools/scraper/spiders/__init__.py b/ayugespidertools/scraper/spiders/__init__.py index f14f812..00a59fd 100644 --- a/ayugespidertools/scraper/spiders/__init__.py +++ b/ayugespidertools/scraper/spiders/__init__.py @@ -98,6 +98,7 @@ def update_settings(cls, settings: "BaseSettings") -> None: if _parts[0] == _parts[1] else exec_path / settings["BOT_NAME"] / "VIT" ) + _normal_settings["VIT_DIR"] = vit_dir # 根据本地配置获取对应的 inner_settings inner_settings = ReuseOperation.fetch_local_conf(