Fixes bug in IOC import (#749)

This commit is contained in:
Tek
2026-03-25 18:23:08 -04:00
committed by GitHub
parent 5cba61b180
commit 0141da4293
2 changed files with 5 additions and 7 deletions
+1 -3
View File
@@ -52,9 +52,7 @@ class Indicators:
if os.path.isfile(path) and path.lower().endswith(".stix2"):
self.parse_stix2(path)
elif os.path.isdir(path):
for file in glob.glob(
os.path.join(path, "**", "*.stix2", recursive=True)
):
for file in glob.glob(os.path.join(path, "**", "*.stix2"), recursive=True):
self.parse_stix2(file)
else:
self.log.error(