From 44e920297b2fd6f929e379025cd239baa0d41cc5 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 4 Aug 2020 14:41:11 +0200 Subject: elif mixup --- archinstall/lib/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-70-g09d2