mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Fix using wrong index when looking for comments in the downloaded file.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user