commit | d1fb6fc3595acdabd1620ebcafb96439061bebfd | [log] [tgz] |
---|---|---|
author | Supreeth Herle <herlesupreeth@gmail.com> | Thu Mar 19 12:45:45 2020 +0100 |
committer | Supreeth Herle <herlesupreeth@gmail.com> | Wed Apr 01 11:04:43 2020 +0200 |
tree | 2887b4f07ae07eb1b8b34b6770a9fbfb4d1b6960 | |
parent | a850a47981949dbcefb2605eba766a703ab4c1cf [diff] [blame] |
Use the generic method read_binary of card class to read ACC Change-Id: I92a02c74d64b3120055163548fc128ed6e0650a4
diff --git a/pySim-read.py b/pySim-read.py index f54045b..1e1d39a 100755 --- a/pySim-read.py +++ b/pySim-read.py
@@ -192,7 +192,7 @@ print("HPLMNAcT: Can't read file -- " + str(e)) # EF.ACC - (res, sw) = scc.read_binary(['3f00', '7f20', '6f78']) + (res, sw) = card.read_binary('ACC') if sw == '9000': print("ACC: %s" % (res,)) else: