From f4a943197b439fdbb115cc28b2d40b8c07c7f31d Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 23 Apr 2025 16:50:16 -0600 Subject: [PATCH] Fix mypy change --- frigate/watchdog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/watchdog.py b/frigate/watchdog.py index 4c49de1a03..cd7614a907 100644 --- a/frigate/watchdog.py +++ b/frigate/watchdog.py @@ -33,9 +33,9 @@ class FrigateWatchdog(threading.Thread): detector.start_or_restart() elif ( detector.detect_process is not None - and not detector.detect_process.is_alive() + and not detector.detect_process.is_alive() # type: ignore[unreachable] ): - logger.info("Detection appears to have stopped. Exiting Frigate...") + logger.info("Detection appears to have stopped. Exiting Frigate...") # type: ignore[unreachable] restart_frigate() logger.info("Exiting watchdog...")