From d399169f6b5bc9f88bd52af885976433796b3131 Mon Sep 17 00:00:00 2001 From: Azalea Gui Date: Wed, 13 Sep 2023 11:20:20 -0400 Subject: [PATCH] [F] Fix type error --- index_crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index_crawler.py b/index_crawler.py index 0e159d4..9d6d69f 100644 --- a/index_crawler.py +++ b/index_crawler.py @@ -11,7 +11,7 @@ ses = requests.Session() ses.headers = {'accept-language': 'zh-CN'} -out_path = toml.loads(Path('config.toml').read_text())['index_path'] +out_path = Path(toml.loads(Path('config.toml').read_text())['index_path']) out_path.mkdir(exist_ok=True)