From 6567bfa3004bbceee74d19c7f823e6dc879f8fc9 Mon Sep 17 00:00:00 2001 From: dongchangxi <458593490@qq.com> Date: Tue, 25 Feb 2025 19:18:39 +0800 Subject: [PATCH] 1 --- apps/auto_convert3d.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/auto_convert3d.py b/apps/auto_convert3d.py index 101026c..cad6e17 100644 --- a/apps/auto_convert3d.py +++ b/apps/auto_convert3d.py @@ -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)