Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 09:32:20 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 09:32:20 +0000
commit34e8e63f71be10f7406b2e30008be258539ba181 (patch)
tree7f5eaa5733c7fd73558739f88409fbe818837829 /archinstall
parent3cf45bdc031dbf414dbfc9636634ea34107c3694 (diff)
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.
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/profiles.py2
1 files changed, 1 insertions, 1 deletions
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