diff --git a/tools/macvendor.py b/tools/macvendor.py index 344dab3e..3dc55753 100644 --- a/tools/macvendor.py +++ b/tools/macvendor.py @@ -29,7 +29,7 @@ for line in manuf: line = line.strip() # Skip comments and empty lines - if line[1] == "#" or line == "": + if line == "" or line[0] == "#": continue # Remove quotation marks as these might interfere with later INSERT / UPDATE commands