diff --git a/Software/Chameleon/MFDESFire.py b/Software/Chameleon/MFDESFire.py index 8237970..41186c5 100644 --- a/Software/Chameleon/MFDESFire.py +++ b/Software/Chameleon/MFDESFire.py @@ -194,7 +194,7 @@ def decodeData(data): # Application Level Commands ########################### def decodeRespGetFileIDs(data): - if len(data) == 4: + if len(data) > 0: return "FIDs:0x"+hexlify(data[1:]).decode() else: return strFail