aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pySim/ts_51_011.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py
index 3492a8d..743c14b 100644
--- a/pySim/ts_51_011.py
+++ b/pySim/ts_51_011.py
@@ -980,4 +980,6 @@ def decode_select_response(resp_hex):
return ret
-CardProfileSIM = CardProfile('SIM', desc='GSM SIM Card', files_in_mf=[DF_TELECOM(), DF_GSM()])
+class CardProfileSIM(CardProfile):
+ def __init__(self):
+ super().__init__('SIM', desc='GSM SIM Card', files_in_mf=[DF_TELECOM(), DF_GSM()])