Improvement and code reorganization of GPSObject
[wifihood] / wifimap / wifiscan.py
index eeca6c2..33221b0 100644 (file)
@@ -41,6 +41,7 @@ class WifiScanner ( gobject.GObject ) :
             scan_out = osso_rpc.rpc_run("org.javiplx.wifiscan", "/org/javiplx/wifiscan", "org.javiplx.wifiscan", "scan", wait_reply = True)
             if self.scan_timeout :
                 gobject.timeout_add( self.scan_timeout , self.scan )
+            # BUG : if scan is called after stop (maybe in other cases), 'ERROR' is returned and split raises exception
             self.nscan +=1
             self.scanlist.clear()
             self.tstamp = time.time()