mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-19 01:17:06 +03:00
lint
This commit is contained in:
parent
fe1d27381b
commit
97049212c6
@ -148,9 +148,9 @@ def config(request: Request):
|
||||
config["model"]["colormap"] = config_obj.model.colormap
|
||||
|
||||
for detector_config in config["detectors"].values():
|
||||
detector_config["model"][
|
||||
"labelmap"
|
||||
] = request.app.frigate_config.model.merged_labelmap
|
||||
detector_config["model"]["labelmap"] = (
|
||||
request.app.frigate_config.model.merged_labelmap
|
||||
)
|
||||
|
||||
return JSONResponse(content=config)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user