diff --git a/src/DatabaseLibrary/connection_manager.py b/src/DatabaseLibrary/connection_manager.py index 20e69f4..3ca710d 100644 --- a/src/DatabaseLibrary/connection_manager.py +++ b/src/DatabaseLibrary/connection_manager.py @@ -320,7 +320,7 @@ def _arg_or_config(arg_value, param_name, *, old_param_name=None, mandatory=Fals if db_api_module_name in ["ibm_db", "ibm_db_dbi"]: if os.name == "nt": - spec = importlib.util.find_spec("ibm_db") + spec = importlib.util.find_spec(db_api_module_name) if spec is not None: logger.info( f"Importing DB module '{db_api_module_name}' on Windows requires configuring the DLL directory for CLI driver" diff --git a/src/DatabaseLibrary/version.py b/src/DatabaseLibrary/version.py index b46c2e7..311aff2 100644 --- a/src/DatabaseLibrary/version.py +++ b/src/DatabaseLibrary/version.py @@ -1 +1 @@ -VERSION = "2.0.1" +VERSION = "2.0.2"