Skip to content

Commit

Permalink
variable instead of hardcoded ibm_db value
Browse files Browse the repository at this point in the history
  • Loading branch information
amochin committed Oct 1, 2024
1 parent 78a381b commit a22d205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DatabaseLibrary/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/DatabaseLibrary/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "2.0.1"
VERSION = "2.0.2"

0 comments on commit a22d205

Please sign in to comment.