w2tgit add .!
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user