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

Commit 8045fe8

Browse files
author
Samuel Hassine
committed
Fix change about caching relation stix id
1 parent cce6ffa commit 8045fe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pycti/opencti_stix2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ def import_relationship(self, stix_relation, update=False):
969969
)
970970
if stix_relation_result is not None:
971971
stix_relation_result_id = stix_relation_result['id']
972-
self.mapping_cache[stix_relation['id']] = stix_relation_result_id
972+
self.mapping_cache[stix_relation['id']] = {'id': stix_relation_result_id}
973973
else:
974974
return None
975975

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
print("warning: pypandoc module not found, could not convert Markdown to RST")
1313
read_md = lambda f: open(f, 'r').read()
1414

15-
VERSION = "1.2.5"
15+
VERSION = "1.2.6"
1616

1717
class VerifyVersionCommand(install):
1818
description = 'verify that the git tag matches our version'

0 commit comments

Comments
 (0)