Fix bug: number of returnd FileIDs

(cherry picked from commit e1761af)
This commit is contained in:
chenzitai
2018-08-15 23:15:02 +01:00
parent 070ed1556b
commit 9e89f19353
+1 -1
View File
@@ -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