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/refs/heads/master?ds=sidebyside 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():