Skip to content

Commit

Permalink
fix:修改输出文件架后会被扫描的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
musnow committed Dec 30, 2023
1 parent 752e292 commit ff036f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def norm_tuples(cfg: Config):
cfg.File.media_ext = tuple(exts)
# ignore_folder: 转换为元组
items = cfg.File.ignore_folder.split(';')
items.append(cfg.NamingRule.output_folder)
cfg.File.ignore_folder = tuple(items)
# required_keys: 转换为元组
items = cfg.Crawler.required_keys.split(',')
Expand Down

0 comments on commit ff036f3

Please sign in to comment.