mirror of
https://github.com/mvt-project/mvt.git
synced 2026-10-02 14:09:47 +02:00
Fixes a minor bug in IOC import (#553)
This commit is contained in:
1 file changed
+1
-1
@@ -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