Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-08-04 14:57:33 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-08-04 14:57:33 +0200
commitb29c35de23c1334b693e71456f199937af4ba4ab (patch)
treed6ab066707cd9b9743abc63cfd47cd989a7fadc7 /archinstall/lib
parent2af2f90280dbe035586fac71cc9387d2d823cf3c (diff)
Fixed description support
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/profiles.py3
1 files changed, 1 insertions, 2 deletions
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