Skip to content

Commit 16608a4

Browse files
committed
fix: [stix2 export] Using the right input file parsing method
1 parent b2d7ca4 commit 16608a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misp_stix_converter/misp_stix_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ def misp_to_stix2(filename: _files_type, debug: Optional[bool] = False,
624624
try:
625625
if not isinstance(filename, Path):
626626
filename = Path(filename).resolve()
627-
parser.parse_json_content(filename)
627+
parser.parse_json_file(filename)
628628
name = _check_filename(
629629
filename.parent, f'{filename.name}.out', output_dir, output_name
630630
)

0 commit comments

Comments
 (0)