1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

dashboard: Minor process() type fix

This commit is contained in:
Athanasius 2022-12-22 12:11:22 +00:00
parent 4db4165676
commit d40bb4f09c
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

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.