esim: report when no eUICC is available (#38497)

* esim: report when no eUICC is available

* remove newline
This commit is contained in:
Andi Radulescu
2026-08-07 20:39:45 +03:00
committed by GitHub
parent faf966adb2
commit 2f4981045b
+2
View File
@@ -50,6 +50,8 @@ if __name__ == '__main__':
args = parser.parse_args()
lpa = HARDWARE.get_sim_lpa()
if not lpa.is_euicc():
raise SystemExit("no eUICC detected")
if args.cmd == 'switch':
lpa.switch_profile(resolve_iccid(lpa, args.profile))
elif args.cmd == 'delete':