From 2af2f90280dbe035586fac71cc9387d2d823cf3c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 4 Aug 2020 14:56:50 +0200 Subject: Added a debug --- archinstall/lib/profiles.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archinstall/lib/profiles.py') diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 4e14ea67..ed8e317b 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -23,9 +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' : ''} break return cache -- cgit v1.2.3-70-g09d2