fix python checks and tests...

This commit is contained in:
Sergey Krashevich 2023-05-02 07:21:43 +03:00
parent d78e33793a
commit 5ba48d6313
No known key found for this signature in database
GPG Key ID: 625171324E7D3856
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ class FrigateApp:
recording_process.daemon = True
self.recording_process = recording_process
recording_process.start()
self.processes["recording"] = recording_process.pid
self.processes["recording"] = recording_process.pid or 0
logger.info(f"Recording process started: {recording_process.pid}")
def bind_database(self) -> None:

View File

@ -34,4 +34,4 @@ class StatsTrackingTypes(TypedDict):
started: int
latest_frigate_version: str
last_updated: int
processes: dict[str, int]
processes: dict[str, int]