BUGFIX : call the scan() method of the proper object
authorjaviplx <javiplx@gmail.com>
Sat, 30 Apr 2011 13:26:10 +0000 (13:26 +0000)
committerjaviplx <javiplx@gmail.com>
Sat, 30 Apr 2011 13:26:10 +0000 (13:26 +0000)
git-svn-id: file:///svnroot/wifihood/branches/cleaning@94 c51dfc6a-5949-4919-9c8e-f207a149c383

wifimap/wifiscan.py

index d9f7d17..eeca6c2 100644 (file)
@@ -40,7 +40,7 @@ class WifiScanner ( gobject.GObject ) :
         try :
             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 , WifiScanner.scan , self )
+                gobject.timeout_add( self.scan_timeout , self.scan )
             self.nscan +=1
             self.scanlist.clear()
             self.tstamp = time.time()