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-08-04 14:41:11 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-08-04 14:41:11 +0200
commit44e920297b2fd6f929e379025cd239baa0d41cc5 (patch)
tree8d8c26a9561b9ff3a32f20a8242c697d376acf03 /archinstall
parent9d7962f39c1d8d8321da9c3653ca7e8d1def5c9b (diff)
elif mixup
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 f0de62d3..0e76ba3d 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -54,7 +54,7 @@ class Profile():
return os.path.abspath(f'{self.name}')
for path in ['./profiles', '/etc/archinstall', '/etc/archinstall/profiles', os.path.abspath(f'{os.path.dirname(__file__)}/../profiles')]: # Step out of /lib
- elif os.path.isfile(f'{path}/{self.name}.py'):
+ if os.path.isfile(f'{path}/{self.name}.py'):
return os.path.abspath(f'{path}/{self.name}.py')
try: