elif mixup

This commit is contained in:
Anton Hvornum 2020-08-04 14:41:11 +02:00
parent 9d7962f39c
commit 44e920297b
1 changed files with 1 additions and 1 deletions

View File

@ -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: