|
|
|
@ -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) |
|
|
|
|