From 60dd93a3deb08b198713675d066e968bb694b29e Mon Sep 17 00:00:00 2001 From: A_D Date: Thu, 11 Mar 2021 21:08:08 +0200 Subject: [PATCH] Fixed invalid type annotation --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index 25c3b7de..18a751b7 100644 --- a/monitor.py +++ b/monitor.py @@ -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)):