pySim-read: do not select ADF.ISIM again

Before reading EF.IST ADF.ISIM is selected again even though it was
selected before. Lets skip this step since it is unnecessary.

Change-Id: I75be18e3476cb1d093bc99775eeddd0c08b81d78
This commit is contained in:
Philipp Maier 2021-11-18 10:33:57 +01:00
parent 46c6154e9d
commit 055b80aa5c
1 changed files with 0 additions and 4 deletions

View File

@ -320,10 +320,6 @@ if __name__ == '__main__':
except Exception as e:
print("UICC IARI: Can't read file -- " + str(e))
# Check whether we have th AID of ISIM, if so select it by its AID
# EF.IST - File Id in ADF ISIM : 6f07
data, sw = card.select_adf_by_aid(adf="isim")
if sw == '9000':
# EF.IST
(res, sw) = card.read_binary('6f07')
if sw == '9000':