mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
4b6ed5f585
commit
c119afea16
|
|
@ -4496,7 +4496,8 @@ def get_labels_from_json(json_object: {}) -> []:
|
|||
label_str = label_str.strip()
|
||||
label_str = remove_html(label_str)
|
||||
if label_str:
|
||||
if len(labels) < 10:
|
||||
if len(labels) >= 10:
|
||||
break
|
||||
labels.append(label_str)
|
||||
# limit the number of labels
|
||||
if len(labels) >= 10:
|
||||
|
|
|
|||
Loading…
Reference in New Issue