From c50e9d48bfc548b964ab82fd27f7b45428a8a97e Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sat, 20 Nov 2021 09:15:03 -0600 Subject: [PATCH] ensure stationary interval is greater than 0 --- frigate/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frigate/config.py b/frigate/config.py index 0ed749d72..0de01a711 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -154,7 +154,8 @@ class DetectConfig(FrigateBaseModel): title="Maximum number of frames the object can dissapear before detection ends." ) stationary_interval: Optional[int] = Field( - title="Frame interval for checking stationary objects." + title="Frame interval for checking stationary objects.", + ge=1, )