Work on settings styles & #618

This commit is contained in:
jokob-sk
2024-05-07 08:03:41 +10:00
parent 78b3228159
commit 28e403356b
6 changed files with 53 additions and 31 deletions

View File

@@ -421,7 +421,7 @@ def query_MAC_vendor (pMAC):
mac_start_string9 = mac[0:9]
try:
with open(vendorsPath, 'r') as f:
with open(filePath, 'r') as f:
for line in f:
line_lower = line.lower() # Convert line to lowercase for case-insensitive matching
if line_lower.startswith(mac_start_string6):