Fix black formatting

This commit is contained in:
Donncha Ó Cearbhaill
2024-10-16 16:35:28 +02:00
parent a44688c501
commit f4437b30b1

View File

@@ -51,7 +51,9 @@ class Indicators:
if os.path.isfile(path) and path.lower().endswith(".stix2"):
self.parse_stix2(path)
if 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(