mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-11-05 15:13:15 +03:00
modem_atcmd: raise ProtocolError instead of ReaderError on CME ERROR
Also accept ProtocolError in addition to SwMatchError in filesystem.py when probing for applications Change-Id: I82b50408328f8eaaee5c9e311c4620d20f930642
This commit is contained in:
1 parent
bca01523df
commit
d70ac22618
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -1352,7 +1352,7 @@ class RuntimeState:
|
||||
if sw == "9000":
|
||||
print(" %s: %s" % (f.name, f.aid))
|
||||
apps_taken.append(f)
|
||||
except SwMatchError:
|
||||
except (SwMatchError, ProtocolError):
|
||||
pass
|
||||
return apps_taken
|
||||
|
||||
|
||||
Reference in new issue
Block a user