mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-05 01:43:16 +03:00
import of watchdog.events.FileCreatedEvent needed even when not type checking
PyCharm debugging bailed out due to the lack.
This commit is contained in:
parent
eef4acd30b
commit
84afe6821a
@ -38,9 +38,7 @@ elif platform == 'win32':
|
|||||||
import ctypes
|
import ctypes
|
||||||
from ctypes.wintypes import BOOL, HWND, LPARAM, LPWSTR
|
from ctypes.wintypes import BOOL, HWND, LPARAM, LPWSTR
|
||||||
|
|
||||||
from watchdog.events import FileSystemEventHandler
|
from watchdog.events import FileCreatedEvent, FileSystemEventHandler
|
||||||
if TYPE_CHECKING:
|
|
||||||
from watchdog.events import FileCreatedEvent
|
|
||||||
from watchdog.observers import Observer
|
from watchdog.observers import Observer
|
||||||
|
|
||||||
EnumWindows = ctypes.windll.user32.EnumWindows
|
EnumWindows = ctypes.windll.user32.EnumWindows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user