mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-08 19:32:15 +03:00
removed invalid magic import
This commit is contained in:
parent
0fec834fb9
commit
74372b997d
1
prefs.py
1
prefs.py
@ -189,7 +189,6 @@ elif platform == 'win32':
|
|||||||
# sigh tkFileDialog.askdirectory doesn't support unicode on Windows
|
# sigh tkFileDialog.askdirectory doesn't support unicode on Windows
|
||||||
# TODO: Remove this
|
# TODO: Remove this
|
||||||
import ctypes
|
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
|
from ctypes.wintypes import HINSTANCE, HWND, LPARAM, LPCWSTR, LPVOID, LPWSTR, MAX_PATH, POINT, RECT, SIZE, UINT
|
||||||
|
|
||||||
SHGetLocalizedName = ctypes.windll.shell32.SHGetLocalizedName
|
SHGetLocalizedName = ctypes.windll.shell32.SHGetLocalizedName
|
||||||
|
Loading…
x
Reference in New Issue
Block a user