mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-07 00:06:57 +01:00
Fix erroneous warning (#10070)
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:
parent
7eb89ca67c
commit
00c2caa1b7
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user