From 53f10fc864f3f6b716ac60414230f82c6bfab1f3 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 24 Sep 2010 11:32:21 +0200 Subject: [PATCH] fso-auth.py: quit the loop after network registration --- fso-auth.py | 2 ++ 1 file changed, 2 insertions(+) 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(): -- 2.1.4