mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-22 21:38:35 +03:00
Use read_binary function of card class to read GID2 and reduce code duplication
Change-Id: I5d80fcc1446a6691b8e2a09bcec558148fa31ab2
This commit is contained in:
@@ -160,13 +160,6 @@ class Card(object):
|
||||
else:
|
||||
return (None, sw)
|
||||
|
||||
def read_gid2(self):
|
||||
(res, sw) = self._scc.read_binary(EF['GID2'])
|
||||
if sw == '9000':
|
||||
return (res, sw)
|
||||
else:
|
||||
return (None, sw)
|
||||
|
||||
# Read the (full) AID for either ISIM or USIM application
|
||||
def read_aid(self, isim = False):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user