mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Fix list access issue
This commit is contained in:
parent
318240c14c
commit
38154c6ab0
@ -322,7 +322,9 @@ def get_sub_labels():
|
|||||||
sub_labels.remove(None)
|
sub_labels.remove(None)
|
||||||
|
|
||||||
if split_joined:
|
if split_joined:
|
||||||
for label in sub_labels:
|
original_labels = sub_labels.copy()
|
||||||
|
|
||||||
|
for label in original_labels:
|
||||||
if "," in label:
|
if "," in label:
|
||||||
sub_labels.remove(label)
|
sub_labels.remove(label)
|
||||||
parts = label.split(",")
|
parts = label.split(",")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user