dashboard: Minor process() type fix

This commit is contained in:
Athanasius committed 2022-12-23 14:47:05 +00:00
1 parent 4db4165676
commit d40bb4f09c
1 file changed
+1 -1
+1 -1
View File
@@ -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.