[F] Fix type error
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user