mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-10 00:57:38 +03:00
Fix ruff formatting issues in activity_manager.py
Co-authored-by: Teagan42 <2989925+Teagan42@users.noreply.github.com>
This commit is contained in:
parent
bb534d81f5
commit
2344eea392
@ -73,9 +73,7 @@ class CameraActivityManager:
|
|||||||
# This ensures each unique object is only counted once even if it appears
|
# This ensures each unique object is only counted once even if it appears
|
||||||
# multiple times (e.g., with custom classifications)
|
# multiple times (e.g., with custom classifications)
|
||||||
zone_objects_by_id = {
|
zone_objects_by_id = {
|
||||||
obj["id"]: obj
|
obj["id"]: obj for obj in all_objects if zone in obj["current_zones"]
|
||||||
for obj in all_objects
|
|
||||||
if zone in obj["current_zones"]
|
|
||||||
}
|
}
|
||||||
all_zone_objects = Counter(
|
all_zone_objects = Counter(
|
||||||
obj["label"].replace("-verified", "")
|
obj["label"].replace("-verified", "")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user