Skip to content

Commit

Permalink
[urlhaus] Avoid empty labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Hassine committed Mar 28, 2022
1 parent ff3d500 commit 3a9d7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external-import/urlhaus/src/urlhaus.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def run(self):
+ row[3],
x_opencti_score=80,
object_marking_refs=[TLP_WHITE],
labels=row[6].split(","),
labels=[x for x in row[6].split(",") if x],
created_by_ref=self.identity["standard_id"],
x_opencti_create_indicator=self.create_indicators,
external_references=[external_reference],
Expand Down

0 comments on commit 3a9d7e1

Please sign in to comment.