From 9c05aa1bdc843d84181206f80949cbaa49a73433 Mon Sep 17 00:00:00 2001 From: Igor Machado Date: Thu, 7 Dec 2023 16:39:24 -0300 Subject: [PATCH] final check on lib --- optframe/engine.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/optframe/engine.py b/optframe/engine.py index 3bb375e..b6acb1b 100644 --- a/optframe/engine.py +++ b/optframe/engine.py @@ -35,6 +35,10 @@ print(f"Error: {libfile} not found.") assert False +# final check on library... +if optframe_lib is None: + raise ImportError(f"Error: library 'optframe_lib' not found.") + FCORE_WARN_ISSUES = True # =====================================