From 34e8e63f71be10f7406b2e30008be258539ba181 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 30 Sep 2020 09:32:20 +0000 Subject: Fixed bug: profile names listed by list_profiles() contained a trailing dot. This causes issues later when trying to select a profile from said list. --- archinstall/lib/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index f63fb96d..60d41ea1 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -36,7 +36,7 @@ def list_profiles(base='./profiles/', filter_irrelevant_macs=True): if first_line[0] == '#': description = first_line[1:].strip() - cache[file[:-2]] = {'path' : os.path.join(root, file), 'description' : description, 'tailored' : tailored} + cache[file[:-3]] = {'path' : os.path.join(root, file), 'description' : description, 'tailored' : tailored} break return cache -- cgit v1.2.3-54-g00ecf