From c39a9c15e3599c14cad42e9d0709d26df97e097a Mon Sep 17 00:00:00 2001 From: Trey Moen Date: Tue, 20 May 2025 20:46:36 -0700 Subject: [PATCH] print out profiles --- 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 976c908647..57d100581d 100755 --- a/system/hardware/tici/esim.py +++ b/system/hardware/tici/esim.py @@ -134,7 +134,9 @@ if __name__ == "__main__": import sys lpa = LPA() - print(lpa.list_profiles()) + for p in lpa.list_profiles(): + print(f'- {p.iccid} (nickname: {p.nickname or "no nickname"}) (provider: {p.provider}) - {"enabled" if p.enabled else "disabled"}') + print() if len(sys.argv) > 2: if sys.argv[1] == 'enable':