mirror of
https://github.com/mvt-project/mvt.git
synced 2026-03-30 00:10:19 +02:00
Fixes a minor bug in IOC import (#553)
This commit is contained in:
@@ -50,7 +50,7 @@ class Indicators:
|
||||
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)
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user