Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index 0bbe364b..4802b30f 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -720,6 +720,7 @@ def get_local_instructions(target):
def get_instructions(target, *positionals, **kwargs):
instructions = oDict()
+ if target[0-len('.json'):] == '.json': target = target[:0-len('.json')]
log(f'Fetching instructions for {target}', level=4, origin='get_instructions')
if get_default_gateway_linux():
try: