diff --git a/virtualsmartcard/vpicc/SmartcardFilesystem.py b/virtualsmartcard/vpicc/SmartcardFilesystem.py index 42f9f7e..4bf54c7 100644 --- a/virtualsmartcard/vpicc/SmartcardFilesystem.py +++ b/virtualsmartcard/vpicc/SmartcardFilesystem.py @@ -1106,6 +1106,8 @@ class MF(DF): # {{{ else: tlv_data = [] isSimpleTlv = True + else: + raise SwError(SW["ERR_INCORRECTP1P2"]) return file, isSimpleTlv, tlv_data