fix: 仪表盘改进

This commit is contained in:
2025-12-08 01:06:19 +08:00
parent c98f3a4418
commit 853511b861
7 changed files with 69 additions and 30 deletions

View File

@@ -14,7 +14,14 @@ def probe_by_filename(filename):
return result
def probe_all(is_stem = 1):
"""依据目录探测所有信息"""
"""依据目录探测所有信息
Args:
is_stem (boolean): 是否**删除**文件扩展名
Returns:
dict: 有三项, 每一项的键名都是文件组类型, 值都是文件组列表, 只包含文件名
"""
paths: dict = config_var.get().get("paths")
result = {}
for item, attr in paths.items():