Fix mypy change

This commit is contained in:
Nicolas Mowen 2025-04-23 16:50:16 -06:00
parent 6de80326c4
commit f4a943197b

View File

@ -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...")