diff --git a/frigate/app.py b/frigate/app.py index 5a8e79a85..76e525e27 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -330,7 +330,9 @@ class FrigateApp: self.stats_emitter.start() def start_watchdog(self) -> None: - self.frigate_watchdog = FrigateWatchdog(self.config, self.detectors, self.stop_event) + self.frigate_watchdog = FrigateWatchdog( + self.config, self.detectors, self.stop_event + ) self.frigate_watchdog.start() def check_shm(self) -> None: diff --git a/frigate/watchdog.py b/frigate/watchdog.py index a5b9eb9ed..79f38d38c 100644 --- a/frigate/watchdog.py +++ b/frigate/watchdog.py @@ -13,7 +13,12 @@ logger = logging.getLogger(__name__) class FrigateWatchdog(threading.Thread): - def __init__(self, config: FrigateConfig, detectors: dict[str, ObjectDetectProcess], stop_event: MpEvent): + def __init__( + self, + config: FrigateConfig, + detectors: dict[str, ObjectDetectProcess], + stop_event: MpEvent, + ): threading.Thread.__init__(self) self.name = "frigate_watchdog" self.config = config