From 11f36102db539ea8648a5aeaf2b799b554b3e272 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 4 Aug 2020 14:58:10 +0200 Subject: Fixed description support --- 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 1f55facd..3360d4bb 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -24,7 +24,7 @@ def list_profiles(base='./profiles/'): with open(os.path.join(root, file), 'r') as fh: first_line = fh.readline() if first_line[0] == '#': - description = first_line.strip() + description = first_line[1:].strip() cache[file] = {'path' : os.path.join(root, file), 'description' : description} break -- cgit v1.2.3-70-g09d2