Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
aoymt committed Oct 30, 2024
1 parent b17d7ce commit fe1ae80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/odatse/algorithm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fe1ae80

Please sign in to comment.