mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
Fix mypy change
This commit is contained in:
parent
6de80326c4
commit
f4a943197b
@ -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...")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user