From 74372b997d4e683318e3a29e6684eca45e3896c2 Mon Sep 17 00:00:00 2001 From: A_D Date: Wed, 16 Sep 2020 20:30:28 +0200 Subject: [PATCH] removed invalid magic import --- prefs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/prefs.py b/prefs.py index 4b24b190..478eb9ef 100644 --- a/prefs.py +++ b/prefs.py @@ -189,7 +189,6 @@ elif platform == 'win32': # sigh tkFileDialog.askdirectory doesn't support unicode on Windows # TODO: Remove this import ctypes - import ctypes.windll # type: ignore # I promise pylance, its there. from ctypes.wintypes import HINSTANCE, HWND, LPARAM, LPCWSTR, LPVOID, LPWSTR, MAX_PATH, POINT, RECT, SIZE, UINT SHGetLocalizedName = ctypes.windll.shell32.SHGetLocalizedName