Fix erroneous warning

Customizing only the detector model path results in the warning
"Customizing more than a detector model path is unsupported." because
`{} is not {}` evaluates to True
This commit is contained in:
Andrew Reiter 2024-02-26 14:19:25 -05:00
parent 3c5ed474af
commit c152fb5137

View File

@ -1304,7 +1304,7 @@ class FrigateConfig(FrigateBaseModel):
model.width != schema["width"]["default"]
or model.height != schema["height"]["default"]
or model.labelmap_path is not None
or model.labelmap is not {}
or model.labelmap
or model.input_tensor != schema["input_tensor"]["default"]
or model.input_pixel_format
!= schema["input_pixel_format"]["default"]