diff --git a/adodbapi/adodbapi.py b/adodbapi/adodbapi.py index e34187ebd..8b19a317c 100644 --- a/adodbapi/adodbapi.py +++ b/adodbapi/adodbapi.py @@ -33,16 +33,12 @@ import weakref from collections.abc import Mapping -import pythoncom -import pywintypes -from win32com.client import Dispatch - from . import ado_consts as adc, apibase as api, process_connect_string try: import pythoncom import pywintypes - import win32com.client + from win32com.client import Dispatch onWin32 = True except ImportError: