Fixed invalid type annotation

This commit is contained in:
A_D authored and Athanasius committed 2021-04-01 14:45:50 +01:00
1 parent e4c0703142
commit 60dd93a3de
1 file changed
+1 -1
+1 -1
View File
@@ -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)):