Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 21:55:24 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 21:55:24 +0000
commit89a1a89a063b790842ec931f7c0ef5e9bfce2b0a (patch)
treef062e5eb7917a871b60a06fb357903f66ac985b4 /archinstall.py
parentf61ffee65a553081513a3144c3d38ef9e91f152e (diff)
Syntax error on conditional assignment
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index b9a35c49..e61d5104 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -450,7 +450,7 @@ def get_instructions(target):
except urllib.error.HTTPError:
print('[N] No instructions found called: {}'.format(target))
print('[N] Trying local instructions under ./deployments')
- local_path = './deployments' if isfile('./archinstall.py') else './archinstall/deployments': # Dangerous assumption
+ local_path = './deployments' if isfile('./archinstall.py') else './archinstall/deployments' # Dangerous assumption
if isfile(f'{local_path}/deployments/{target}.json'):
with open(f'{local_path}/deployments/{target}.json', 'r') as fh:
instructions = fh.read()