From b29c35de23c1334b693e71456f199937af4ba4ab Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 4 Aug 2020 14:57:33 +0200 Subject: Fixed description support --- archinstall/lib/profiles.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'archinstall/lib/profiles.py') diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index ed8e317b..1f55facd 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -23,11 +23,10 @@ def list_profiles(base='./profiles/'): description = '' with open(os.path.join(root, file), 'r') as fh: first_line = fh.readline() - print(first_line) if first_line[0] == '#': description = first_line.strip() - cache[file] = {'path' : os.path.join(root, file), 'description' : ''} + cache[file] = {'path' : os.path.join(root, file), 'description' : description} break return cache -- cgit v1.2.3-54-g00ecf