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-29 13:26:35 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 13:26:35 +0100
commit62ecb7ccfa43150d756961c1e5ac45a9dd805cfe (patch)
tree071d915a3d4c79893dc80afa9c930fe51d7b468d
parenta83b21ec016e4302fb1e767e338527865beefba3 (diff)
Fixed instruction loading
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 2a51a35e..9d96d439 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -720,7 +720,7 @@ def get_instructions(target, *positionals, **kwargs):
else:
isntructions = get_local_instructions(target, *positionals)
- if type(instructions) in (dict, oDict):
+ if type(instructions) not in (dict, oDict,):
try:
instructions = json.loads(instructions, object_pairs_hook=oDict)
except: