From c500f9fece34ecc59e4a35ed3c1d638c6ca9b249 Mon Sep 17 00:00:00 2001 From: Trey Moen Date: Tue, 20 May 2025 20:47:16 -0700 Subject: [PATCH] better --- system/hardware/tici/esim.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hardware/tici/esim.py b/system/hardware/tici/esim.py index 57d100581d..818aebaedc 100755 --- a/system/hardware/tici/esim.py +++ b/system/hardware/tici/esim.py @@ -134,7 +134,9 @@ if __name__ == "__main__": import sys lpa = LPA() - for p in lpa.list_profiles(): + profiles = lpa.list_profiles() + print(f'{len(profiles)} profiles:') + for p in profiles: print(f'- {p.iccid} (nickname: {p.nickname or "no nickname"}) (provider: {p.provider}) - {"enabled" if p.enabled else "disabled"}') print()