From d40bb4f09c4b46abe99b8a21a1b2563e9d594f44 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 22 Dec 2022 12:11:22 +0000 Subject: [PATCH] dashboard: Minor `process()` type fix --- dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard.py b/dashboard.py index c371e2b7..c88f9a21 100644 --- a/dashboard.py +++ b/dashboard.py @@ -167,7 +167,7 @@ class Dashboard(FileSystemEventHandler): # Can get on_modified events when the file is emptied self.process(event.src_path if not event.is_directory else None) - def process(self, logfile: str = None) -> None: + def process(self, logfile: str | None = None) -> None: """ Process the contents of current Status.json file.