From 38154c6ab0fecffdbc1bea1a88dc76085e801393 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 27 Feb 2023 07:36:12 -0700 Subject: [PATCH] Fix list access issue --- frigate/http.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/http.py b/frigate/http.py index 1649ab55e..59cc7dd0d 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -322,7 +322,9 @@ def get_sub_labels(): sub_labels.remove(None) if split_joined: - for label in sub_labels: + original_labels = sub_labels.copy() + + for label in original_labels: if "," in label: sub_labels.remove(label) parts = label.split(",")