mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Fixed invalid type annotation
This commit is contained in:
parent
e4c0703142
commit
60dd93a3de
@ -270,7 +270,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
"""
|
||||
return bool(self.thread and self.thread.is_alive())
|
||||
|
||||
def on_created(self, event: FileCreatedEvent) -> None:
|
||||
def on_created(self, event: 'FileCreatedEvent') -> None:
|
||||
"""Watchdog callback when, e.g. client (re)started."""
|
||||
if not event.is_directory and self._RE_LOGFILE.search(basename(event.src_path)):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user