2
This commit is contained in:
1 parent
65b142d9f8
commit
ddb66703a1
1 file changed
+3
-3
+3
-3
@@ -100,17 +100,17 @@ def down_obj_from_oss(workdir, pid, action):
|
|||||||
isMtlFile = True
|
isMtlFile = True
|
||||||
|
|
||||||
|
|
||||||
if localfile.endswith('.obj'):
|
if "obj" in localfile:
|
||||||
if isObjFile:
|
if isObjFile:
|
||||||
print(f'目录{dirPath}已存在obj文件,跳过')
|
print(f'目录{dirPath}已存在obj文件,跳过')
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if localfile.endswith('.jpg'):
|
if "jpg" in localfile:
|
||||||
if isJpgFile:
|
if isJpgFile:
|
||||||
print(f'目录{dirPath}已存在jpg文件,跳过')
|
print(f'目录{dirPath}已存在jpg文件,跳过')
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if localfile.endswith('.mtl'):
|
if "mtl" in localfile:
|
||||||
if isMtlFile:
|
if isMtlFile:
|
||||||
print(f'目录{dirPath}已存在mtl文件,跳过')
|
print(f'目录{dirPath}已存在mtl文件,跳过')
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in new issue
Block a user