From: Antonio Ospite Date: Fri, 24 Sep 2010 09:32:21 +0000 (+0200) Subject: fso-auth.py: quit the loop after network registration X-Git-Url: https://git.ao2.it/fso-scripts.git/commitdiff_plain/53f10fc864f3f6b716ac60414230f82c6bfab1f3?hp=6a5a688bd26704a1de1288c5c635fa418d39e1ca fso-auth.py: quit the loop after network registration --- diff --git a/fso-auth.py b/fso-auth.py index 3b755e7..8998853 100755 --- a/fso-auth.py +++ b/fso-auth.py @@ -16,6 +16,8 @@ def onDeviceStatus(status): if status == "alive-sim-locked": gsm_device_iface.SetFunctionality("full", True, pin) elif status == "alive-sim-ready": + pass + elif status == "alive-registered": loop.quit() def fso_auth():