Fixed instruction loading

This commit is contained in:
Anton Hvornum 2019-11-29 13:26:35 +01:00
parent a83b21ec01
commit 62ecb7ccfa
1 changed files with 1 additions and 1 deletions

View File

@ -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: