From c1e392d8288631ffac5e1f249d3fd0e3e80e98ce Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 3 Nov 2023 09:30:49 +0100 Subject: [PATCH] rollback useless change --- hub/exports/formats/glb.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hub/exports/formats/glb.py b/hub/exports/formats/glb.py index dbb961c0..1ac5570b 100644 --- a/hub/exports/formats/glb.py +++ b/hub/exports/formats/glb.py @@ -32,10 +32,7 @@ class Glb: @property def _obj2gltf(self): - obj2gltf = shutil.which('obj2gltf') - if obj2gltf is None: - obj2gltf = 'obj2gltf' - return obj2gltf + return shutil.which('obj2gltf') def _export(self): try: