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: