Skip to content

Commit 9ab80af

Browse files
authored
Merge pull request #55 from AyushDharDubey/fix/issue_54-search-for-obj-files-recursively
Use rglob instead of glob for recursive OBJ file search
2 parents e798c46 + 6f8abcc commit 9ab80af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mainapp/management/commands/obj2glb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def handle(self, *args, **options):
4646
logger.error(f"Bad zip file: {zip_path}")
4747
continue
4848

49-
obj_files = list(workdir.glob("*.obj"))
49+
obj_files = list(workdir.rglob("*.obj"))
5050
if not obj_files:
5151
logger.warning(f"No OBJ file found in {zip_path} — skipping.")
5252
continue

0 commit comments

Comments
 (0)