Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 144080f

Browse files
author
Samuel Hassine
committed
[client] Fix STIX2 export of multiple attributes
1 parent 3206309 commit 144080f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycti/api/opencti_api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def not_empty(self, value):
247247
is_not_empty = False
248248
for v in value:
249249
if len(v) > 0:
250-
is_not_empty = False
250+
is_not_empty = True
251251
return is_not_empty
252252
if isinstance(value, int):
253253
return True

0 commit comments

Comments
 (0)