Skip to content

Commit

Permalink
VIT_DIR 默认值存入 settings 中
Browse files Browse the repository at this point in the history
  • Loading branch information
shengchenyang committed Nov 3, 2023
1 parent fa9d913 commit 3d7e7b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ayugespidertools/scraper/spiders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3d7e7b7

Please sign in to comment.