From 805c69184964c6d7c89b4b6d293fefa5c1ee0eab Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Thu, 26 May 2022 09:28:02 -0600 Subject: [PATCH] Formatting --- frigate/http.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frigate/http.py b/frigate/http.py index 1115bce4b..783ff10b7 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -249,9 +249,7 @@ def set_sub_label(id): @bp.route("/sub_labels") def get_sub_labels(): try: - events = ( - Event.select(Event.sub_label).distinct() - ).dicts() + events = (Event.select(Event.sub_label).distinct()).dicts() except Exception as e: return jsonify( {"success": False, "message": f"Failed to get sub_labels: {e}"}, "404"