Skip to content

Commit ecd0c87

Browse files
author
Henry Harbeck
committed
explicitly import importlib.util; remove erroneous print
1 parent 2cbb98d commit ecd0c87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adbc_driver_duckdb/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import enum
2121
import functools
22-
import importlib
22+
import importlib.util
2323
import typing
2424

2525
import adbc_driver_manager
@@ -46,5 +46,4 @@ def driver_path() -> str:
4646
if duckdb_module_spec is None:
4747
msg = "Could not find duckdb shared library. Did you pip install duckdb?"
4848
raise ImportError(msg)
49-
print(f"Found duckdb shared library at {duckdb_module_spec.origin}")
5049
return duckdb_module_spec.origin

0 commit comments

Comments
 (0)