Skip to content

Commit

Permalink
Fixes a minor bug in IOC import (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Te-k authored Oct 17, 2024
1 parent 7303bc0 commit 9678eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mvt/common/indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _check_stix2_env_variable(self) -> None:
for path in paths:
if os.path.isfile(path) and path.lower().endswith(".stix2"):
self.parse_stix2(path)
if os.path.isdir(path):
elif os.path.isdir(path):
for file in glob.glob(
os.path.join(path, "**", "*.stix2", recursive=True)
):
Expand Down

0 comments on commit 9678eb1

Please sign in to comment.