Error check on get_instructions to ignore .json at the end.
This commit is contained in:
parent
40939d207e
commit
91da324df0
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue