fix(interface): 完成主要屏幕重构
This commit is contained in:
@@ -17,9 +17,9 @@ def environment_check():
|
||||
from pathlib import Path
|
||||
|
||||
logger.debug("检查环境路径")
|
||||
|
||||
for i in config_var.get()["paths"].values():
|
||||
i = Path(i)
|
||||
subdir = ['cache/voice', 'repo', 'global', 'config']
|
||||
for i in subdir:
|
||||
i = Path(config_var.get()['paths']['data']) / i
|
||||
if not i.exists():
|
||||
logger.info("创建目录: %s", i)
|
||||
print(f"创建 {i}")
|
||||
|
||||
Reference in New Issue
Block a user