From fef1f02be41d6a949ffdc7bf09d13d1e7da08cb7 Mon Sep 17 00:00:00 2001 From: Avasam Date: Sat, 16 Mar 2024 23:20:27 -0400 Subject: [PATCH] deduped imports --- adodbapi/adodbapi.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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: