Skip to content

Commit a22d205

Browse files
committed
variable instead of hardcoded ibm_db value
1 parent 78a381b commit a22d205

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DatabaseLibrary/connection_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def _arg_or_config(arg_value, param_name, *, old_param_name=None, mandatory=Fals
320320

321321
if db_api_module_name in ["ibm_db", "ibm_db_dbi"]:
322322
if os.name == "nt":
323-
spec = importlib.util.find_spec("ibm_db")
323+
spec = importlib.util.find_spec(db_api_module_name)
324324
if spec is not None:
325325
logger.info(
326326
f"Importing DB module '{db_api_module_name}' on Windows requires configuring the DLL directory for CLI driver"

src/DatabaseLibrary/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "2.0.1"
1+
VERSION = "2.0.2"

0 commit comments

Comments
 (0)