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

Commit 336c538

Browse files
[client] black
1 parent b73df6c commit 336c538

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,9 @@ def generate_export(self, entity: Dict, no_custom_attributes: bool = False) -> D
15071507
and "valid_until" in entity
15081508
and entity["valid_from"] == entity["valid_until"]
15091509
):
1510-
entity['valid_until'] = entity['valid_until'] + datetime.timedelta(seconds=1)
1510+
entity["valid_until"] = entity["valid_until"] + datetime.timedelta(
1511+
seconds=1
1512+
)
15111513

15121514
# Flatten
15131515
if "tasks" in entity:

0 commit comments

Comments
 (0)