Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 08:40:23 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 08:40:23 +0000
commit84410113c20f7614fcaa442723618b14352bdc4f (patch)
tree5c7caead53f193fb91538c5a168d126e65e5c128
parent3c0f4cebce2a9526d621c647b2b91d07c4817a68 (diff)
Spelling error
-rw-r--r--archinstall/__main__.py5
1 files changed, 2 insertions, 3 deletions
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