index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/__main__.py | 5 |
diff --git a/archinstall/__main__.py b/archinstall/__main__.py index 04004674..d5869020 100644 --- a/archinstall/__main__.py +++ b/archinstall/__main__.py @@ -13,9 +13,8 @@ def find_examples(): return {os.path.basename(path): path for path in glob.glob(f'{examples}/*.py')} - if __name__ == '__main__': - if len(sys.argv) == 1: sys.arv.append('guided') + if len(sys.argv) == 1: sys.argv.append('guided') profile = sys.argv[1] library = find_examples() @@ -26,4 +25,4 @@ if __name__ == '__main__': spec = importlib.util.spec_from_file_location(library[f'{profile}.py'], library[f'{profile}.py']) imported_path = importlib.util.module_from_spec(spec) spec.loader.exec_module(imported_path) - sys.modules[library[f'{profile}.py']] = imported_path
\ No newline at end of file + sys.modules[library[f'{profile}.py']] = imported_path |