mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Update timeline.py
Co-authored-by: Sergey Krashevich <svk@svk.su>
This commit is contained in:
parent
6ab9aad820
commit
f15dd014b2
@ -103,8 +103,8 @@ class TimelineProcessor(threading.Thread):
|
||||
)[0]
|
||||
Timeline.insert(timeline_entry).execute()
|
||||
elif (
|
||||
prev_event_data.get("sub_label") is None
|
||||
and event_data.get("sub_label") is not None
|
||||
not prev_event_data.get("sub_label")
|
||||
and event_data.get("sub_label")
|
||||
):
|
||||
sub_label = event_data["sub_label"][0]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user