aboutsummaryrefslogtreecommitdiffstats
path: root/pySim-read.py
diff options
context:
space:
mode:
authorSupreeth Herle <herlesupreeth@gmail.com>2020-03-19 12:14:10 +0100
committerSupreeth Herle <herlesupreeth@gmail.com>2020-04-01 09:34:57 +0200
commit9efd8ef81240ff953b376afdb5b15f48fb035346 (patch)
tree751b2a31216c91b1ec99d5402af3f0a15013cb40 /pySim-read.py
parent846cefb0cd0238c70f3e4137aa41f92834ba774f (diff)
Use the generic method read_binary of card class to read PLMNsel
Diffstat (limited to 'pySim-read.py')
-rwxr-xr-xpySim-read.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim-read.py b/pySim-read.py
index 1a4c1e7..d62cdd3 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -153,7 +153,7 @@ if __name__ == '__main__':
# EF.PLMNsel
try:
- (res, sw) = scc.read_binary(EF['PLMNsel'])
+ (res, sw) = card.read_binary('PLMNsel')
if sw == '9000':
print("PLMNsel: %s" % (res))
else: