diff --git a/src/odatse/algorithm/__init__.py b/src/odatse/algorithm/__init__.py index cb8ad3b3..a549aa8b 100644 --- a/src/odatse/algorithm/__init__.py +++ b/src/odatse/algorithm/__init__.py @@ -27,6 +27,7 @@ def choose_algorithm(name): alg_module = importlib.import_module(alg_name) except ModuleNotFoundError as e: print("ERROR: {}".format(e)) + import sys sys.exit(1) return alg_module