1
This commit is contained in:
1 parent
b279fdac97
commit
a4fa455098
1 file changed
+4
-4
+4
-4
@@ -89,14 +89,14 @@ def down_obj_from_oss(workdir, pid, action):
|
|||||||
isObjFile = False
|
isObjFile = False
|
||||||
isJpgFile = False
|
isJpgFile = False
|
||||||
isMtlFile = False
|
isMtlFile = False
|
||||||
for file in os.listdir(dirPath):
|
for file1 in os.listdir(dirPath):
|
||||||
if file.endswith('.obj'):
|
if file1.endswith('.obj'):
|
||||||
isObjFile = True
|
isObjFile = True
|
||||||
|
|
||||||
if file.endswith('.jpg'):
|
if file1.endswith('.jpg'):
|
||||||
isJpgFile = True
|
isJpgFile = True
|
||||||
|
|
||||||
if file.endswith('.mtl'):
|
if file1.endswith('.mtl'):
|
||||||
isMtlFile = True
|
isMtlFile = True
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user