mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
Formatting
This commit is contained in:
parent
998990e7b6
commit
7323ccaf57
@ -640,7 +640,9 @@ def events():
|
|||||||
sub_label_clauses.append((Event.sub_label.is_null()))
|
sub_label_clauses.append((Event.sub_label.is_null()))
|
||||||
|
|
||||||
for label in filtered_sub_labels:
|
for label in filtered_sub_labels:
|
||||||
sub_label_clauses.append((Event.sub_label.cast("text") == label)) # include exact matches
|
sub_label_clauses.append(
|
||||||
|
(Event.sub_label.cast("text") == label)
|
||||||
|
) # include exact matches
|
||||||
|
|
||||||
# include this label when part of a list
|
# include this label when part of a list
|
||||||
sub_label_clauses.append((Event.sub_label.cast("text") % f"*{label},*"))
|
sub_label_clauses.append((Event.sub_label.cast("text") % f"*{label},*"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user