mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 19:55:26 +03:00
Formatting
This commit is contained in:
parent
f15dd014b2
commit
b87ece6b93
@ -102,10 +102,7 @@ class TimelineProcessor(threading.Thread):
|
|||||||
event_data["attributes"].keys()
|
event_data["attributes"].keys()
|
||||||
)[0]
|
)[0]
|
||||||
Timeline.insert(timeline_entry).execute()
|
Timeline.insert(timeline_entry).execute()
|
||||||
elif (
|
elif not prev_event_data.get("sub_label") and event_data.get("sub_label"):
|
||||||
not prev_event_data.get("sub_label")
|
|
||||||
and event_data.get("sub_label")
|
|
||||||
):
|
|
||||||
sub_label = event_data["sub_label"][0]
|
sub_label = event_data["sub_label"][0]
|
||||||
|
|
||||||
if sub_label not in ALL_ATTRIBUTE_LABELS:
|
if sub_label not in ALL_ATTRIBUTE_LABELS:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user