Skip to content

Commit 3ffa5a3

Browse files
author
Samuel Hassine
committed
[client] No mapping cache clear
1 parent 125752c commit 3ffa5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycti/utils/opencti_stix2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ def get_author(self, name):
14031403
def import_bundle(self, stix_bundle, update=False, types=None) -> List:
14041404
if types is None:
14051405
types = []
1406-
self.mapping_cache = {}
1406+
14071407
# Check if the bundle is correctly formatted
14081408
if 'type' not in stix_bundle or stix_bundle['type'] != 'bundle':
14091409
raise ValueError('JSON data type is not a STIX2 bundle')

0 commit comments

Comments
 (0)