Remove redundant exception handling for module imports in GPU processing

pull/1895/head
Evan Edward Hallein 2025-07-25 08:08:24 +09:30
rodzic 7776bbf748
commit 45c09b9d62
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

@ -30,9 +30,6 @@ def has_popsift_and_can_handle_texsize(width, height):
else:
log.ODM_INFO("popsift cannot handle texture size %dx%d" % (width, height))
return False
except (ModuleNotFoundError, ImportError):
log.ODM_WARNING(str(e))
return False
except Exception as e:
log.ODM_WARNING(str(e))
return False