From 1ca652bdec5cafa91343f3cc4b4bf79eb70bd4a0 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 9 Aug 2019 19:45:17 +0200 Subject: [PATCH] Fix using wrong index when looking for comments in the downloaded file. Signed-off-by: DL6ER --- tools/macvendor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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