mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-15 08:40:34 +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
|
||||
from ctypes.wintypes import BOOL, HWND, LPARAM, LPWSTR
|
||||
|
||||
from watchdog.events import FileSystemEventHandler
|
||||
if TYPE_CHECKING:
|
||||
from watchdog.events import FileCreatedEvent
|
||||
from watchdog.events import FileCreatedEvent, FileSystemEventHandler
|
||||
from watchdog.observers import Observer
|
||||
|
||||
EnumWindows = ctypes.windll.user32.EnumWindows
|
||||
|
Loading…
x
Reference in New Issue
Block a user