profile: decode_select_response use object instead 'Any'

the return type of decode_select_response is 'Any', lets be more
specific and use 'object'

Change-Id: Ic5c7ace234bc94ab1381d87e091369ade8011cab
This commit is contained in:
Philipp Maier
2021-11-16 15:46:42 +01:00
parent 5998a3a8b3
commit 9e42e7ffce
4 changed files with 5 additions and 6 deletions

View File

@@ -979,7 +979,7 @@ class CardProfileSIM(CardProfile):
super().__init__('SIM', desc='GSM SIM Card', cla="a0", sel_ctrl="0000", files_in_mf=[DF_TELECOM(), DF_GSM()], sw=sw)
@staticmethod
def decode_select_response(resp_hex:str) -> Any:
def decode_select_response(resp_hex:str) -> object:
resp_bin = h2b(resp_hex)
struct_of_file_map = {
0: 'transparent',