pySim/global_platform: Fix install_for_personalization command
A mix-up betewen underscore and dash resulted in: Change-Id: I49d12b7c7ae2a343940e87d5069c0ae44a9bc50c AttributeError: 'Namespace' object has no attribute 'application_aid'
This commit is contained in:
@@ -631,7 +631,7 @@ class ADF_SD(CardADF):
|
||||
_data, _sw = self._cmd.lchan.scc.send_apdu_checksw(b2h(apdu))
|
||||
|
||||
inst_perso_parser = argparse.ArgumentParser()
|
||||
inst_perso_parser.add_argument('application-aid', type=is_hexstr, help='Application AID')
|
||||
inst_perso_parser.add_argument('application_aid', type=is_hexstr, help='Application AID')
|
||||
|
||||
@cmd2.with_argparser(inst_perso_parser)
|
||||
def do_install_for_personalization(self, opts):
|
||||
|
||||
Reference in New Issue
Block a user