dongchangxi 9 months ago
parent
commit
65b142d9f8
  1. 6
      tools/cal_weight.py

6
tools/cal_weight.py

@ -101,17 +101,17 @@ def down_obj_from_oss(workdir, pid, action): @@ -101,17 +101,17 @@ def down_obj_from_oss(workdir, pid, action):
if localfile.endswith('.obj'):
if isObjFile and os.path.exists(localfile):
if isObjFile:
print(f'目录{dirPath}已存在obj文件,跳过')
continue
if localfile.endswith('.jpg'):
if isJpgFile and os.path.exists(localfile):
if isJpgFile:
print(f'目录{dirPath}已存在jpg文件,跳过')
continue
if localfile.endswith('.mtl'):
if isMtlFile and os.path.exists(localfile):
if isMtlFile:
print(f'目录{dirPath}已存在mtl文件,跳过')
continue

Loading…
Cancel
Save