mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 19:17:41 +03:00
Cleanup
This commit is contained in:
parent
c7e7befb7b
commit
cff1b9a4bb
@ -541,9 +541,7 @@ def delete_classification_dataset_images(
|
||||
"/classification/{name}/dataset/categorize",
|
||||
dependencies=[Depends(require_role(["admin"]))],
|
||||
)
|
||||
def categorize_classification_image(
|
||||
request: Request, name: str, body: dict = None
|
||||
):
|
||||
def categorize_classification_image(request: Request, name: str, body: dict = None):
|
||||
config: FrigateConfig = request.app.frigate_config
|
||||
|
||||
if name not in config.classification.custom:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user