mirror of https://gerrit.osmocom.org/pysim
pySim-shell: Use poutput_json() whenever applicable
poutput_json() uses a customs JSONEncoder, and hence all JSON prenting should go through it. Change-Id: Ie023669e77311350ade4f8dbc65431e71b586052
This commit is contained in:
parent
5e749a79ac
commit
b00e893e73
|
@ -322,7 +322,7 @@ class Iso7816Commands(CommandSet):
|
|||
path = opts.arg_list[0]
|
||||
fcp_dec = self._cmd.rs.select(path, self._cmd)
|
||||
self._cmd.update_prompt()
|
||||
self._cmd.poutput(json.dumps(fcp_dec, indent=4))
|
||||
self._cmd.poutput_json(fcp_dec)
|
||||
|
||||
def complete_select(self, text, line, begidx, endidx) -> List[str]:
|
||||
"""Command Line tab completion for SELECT"""
|
||||
|
|
Loading…
Reference in New Issue