Update nb-dt-import.py

fixed AttributeError when using --vendors switch
This commit is contained in:
lordwolf2004
2021-03-20 19:22:35 -05:00
committed by GitHub
parent 5cb2b033a3
commit 91e78f36e7

View File

@ -352,7 +352,7 @@ if args.vendors is None:
else:
print("Vendor Specified, Gathering All Matching Device-Types")
files, vendors = getFiles(args.vendor)
files, vendors = getFiles(args.vendors)
print(str(len(vendors)) + " Vendors Found")
print(str(len(files)) + " Device-Types Found")
deviceTypes = readYAMl(files)