From 7323ccaf572f1b6782cb1513cf9b4da568cf54c0 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 27 Feb 2023 07:47:43 -0700 Subject: [PATCH] Formatting --- frigate/http.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/http.py b/frigate/http.py index 862393037..4060295e1 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -640,7 +640,9 @@ def events(): sub_label_clauses.append((Event.sub_label.is_null())) 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 sub_label_clauses.append((Event.sub_label.cast("text") % f"*{label},*"))