This commit is contained in:
dongchangxi committed 2025-02-25 19:18:39 +08:00
1 parent 9faa079820
commit 6567bfa300
1 file changed
+3
+3
View File
@@ -37,6 +37,9 @@ def down_obj_fromoss(pid, print_type=1, order_id=None):
for file in filelist:
filename = file.key.split('/')[-1]
if filename == '': continue
if filename.endswith(f'.obj') and find == True:
continue
if filename.endswith(f'{pid}.obj'):
find = True
localfile = os.path.join(path, filename)