From 4d153c5bd1803657e9d1fb6189c36676736f8c68 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 29 Nov 2020 20:30:54 +0000 Subject: Lowering MAC addresses for file-name comparison against local mac addresses in #62 --- archinstall/lib/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 2cf96eb2..1e2c1206 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -57,7 +57,7 @@ def list_profiles(filter_irrelevant_macs=True): if os.path.splitext(profile)[1] == '.py': tailored = False if len(mac := re.findall('(([a-zA-z0-9]{2}[-:]){5}([a-zA-z0-9]{2}))', profile)): - if filter_irrelevant_macs and mac[0][0] not in local_macs: + if filter_irrelevant_macs and mac[0][0].lower() not in local_macs: continue tailored = True -- cgit v1.2.3-54-g00ecf