mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
Formatting
This commit is contained in:
parent
b3b40f58f4
commit
7c415a7be2
@ -80,9 +80,7 @@ class CameraConfig(FrigateBaseModel):
|
||||
lpr: CameraLicensePlateRecognitionConfig = Field(
|
||||
default_factory=CameraLicensePlateRecognitionConfig, title="LPR config."
|
||||
)
|
||||
motion: MotionConfig = Field(
|
||||
None, title="Motion detection configuration."
|
||||
)
|
||||
motion: MotionConfig = Field(None, title="Motion detection configuration.")
|
||||
objects: ObjectConfig = Field(
|
||||
default_factory=ObjectConfig, title="Object configuration."
|
||||
)
|
||||
|
@ -580,7 +580,9 @@ class RecordingMaintainer(threading.Thread):
|
||||
audio_detections,
|
||||
)
|
||||
)
|
||||
elif topic == DetectionTypeEnum.api.value or DetectionTypeEnum.lpr.value:
|
||||
elif (
|
||||
topic == DetectionTypeEnum.api.value or DetectionTypeEnum.lpr.value
|
||||
):
|
||||
continue
|
||||
|
||||
if frame_time < run_start - stale_frame_count_threshold:
|
||||
|
Loading…
Reference in New Issue
Block a user