From 91e78f36e782b5b1f4a045e9b284e98d19a75d0f Mon Sep 17 00:00:00 2001 From: lordwolf2004 Date: Sat, 20 Mar 2021 19:22:35 -0500 Subject: [PATCH] Update nb-dt-import.py fixed AttributeError when using --vendors switch --- nb-dt-import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nb-dt-import.py b/nb-dt-import.py index f18f4081..844a2c76 100755 --- a/nb-dt-import.py +++ b/nb-dt-import.py @@ -352,7 +352,7 @@ def createDeviceTypes(deviceTypes, nb): 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)