Fix list access issue

This commit is contained in:
Nick Mowen 2023-02-27 07:36:12 -07:00
parent 318240c14c
commit 38154c6ab0

View File

@ -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(",")