1
This commit is contained in:
1 parent
9faa079820
commit
6567bfa300
1 file changed
+3
@@ -37,6 +37,9 @@ def down_obj_fromoss(pid, print_type=1, order_id=None):
|
|||||||
for file in filelist:
|
for file in filelist:
|
||||||
filename = file.key.split('/')[-1]
|
filename = file.key.split('/')[-1]
|
||||||
if filename == '': continue
|
if filename == '': continue
|
||||||
|
if filename.endswith(f'.obj') and find == True:
|
||||||
|
continue
|
||||||
|
|
||||||
if filename.endswith(f'{pid}.obj'):
|
if filename.endswith(f'{pid}.obj'):
|
||||||
find = True
|
find = True
|
||||||
localfile = os.path.join(path, filename)
|
localfile = os.path.join(path, filename)
|
||||||
|
|||||||
Reference in new issue
Block a user