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>2019-11-13 21:54:41 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 21:54:41 +0000
commitf61ffee65a553081513a3144c3d38ef9e91f152e (patch)
tree7fa1d56dff3843aff379a9f9cf2d852e6ef9ffb0
parentf9f6d890ae936c9a9eed79ef90b46e87c9395022 (diff)
Syntax error on conditional assignment
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 2ae7c747..b9a35c49 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -424,7 +424,7 @@ def get_application_instructions(target):
except urllib.error.HTTPError:
print('[N] No instructions found for: {}'.format(target))
print('[N] Trying local instructions under ./deployments/applications')
- local_path = './deployments/applications' if isfile('./archinstall.py') else './archinstall/deployments/applications': # Dangerous assumption
+ local_path = './deployments/applications' if isfile('./archinstall.py') else './archinstall/deployments/applications' # Dangerous assumption
if isfile(f'{local_path}/deployments/applications/{target}.json'):
with open(f'{local_path}/deployments/applications/{target}.json', 'r') as fh:
instructions = fh.read()