diff options
author | Supreeth Herle <herlesupreeth@gmail.com> | 2020-04-01 09:21:20 +0200 |
---|---|---|
committer | Supreeth Herle <herlesupreeth@gmail.com> | 2020-04-01 09:21:20 +0200 |
commit | e573ccb53cf475518294539ceb114a11a3535bcc (patch) | |
tree | be812c271a9c05f030259bd4e6e5acb5ff2a61a6 /pySim-read.py | |
parent | ad10d66baf141a52c9080a5f236ccc9b059ed630 (diff) |
Use read_binary function of card class to read GID2 and reduce code duplication
Change-Id: I5d80fcc1446a6691b8e2a09bcec558148fa31ab2
Diffstat (limited to 'pySim-read.py')
-rwxr-xr-x | pySim-read.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim-read.py b/pySim-read.py index cd82498..f167bce 100755 --- a/pySim-read.py +++ b/pySim-read.py @@ -124,7 +124,7 @@ if __name__ == '__main__': # EF.GID2 try: - (res, sw) = card.read_gid2() + (res, sw) = card.read_binary('GID2') if sw == '9000': print("GID2: %s" % (res,)) else: |