w2tgit add .!

This commit is contained in:
2025-01-22 16:40:29 +08:00
parent 92bdf133f2
commit 6b6fa1ec71
11 changed files with 23 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ def traversal_files(_path, _w2t):
# 参数:路径
# 返回值:路径下的文件夹列表 路径下的文件列表
if not os.path.exists(_path):
_w2t(f"数据文件夹{_path}不存在,请确认后重试......", "red", "PathNotExistError")
_w2t(f"数据文件夹{_path}不存在,请确认后重试......\n", "red", "PathNotExistError")
else:
dirs, files = [], []
for item in os.scandir(_path):