BUGFIX : multiple method calls fixed
authorjaviplx <javiplx@gmail.com>
Sun, 17 Oct 2010 11:04:05 +0000 (11:04 +0000)
committerjaviplx <javiplx@gmail.com>
Sun, 17 Oct 2010 11:04:05 +0000 (11:04 +0000)
git-svn-id: file:///svnroot/wifihood/trunk@68 c51dfc6a-5949-4919-9c8e-f207a149c383

wifiscanner/wifimap/wifiscan.py

index ff2e9e9..ca7da15 100644 (file)
@@ -56,12 +56,12 @@ class Scanner ( gps.GPSObject ) :
         latlon = None
         if self.gps_state == "FIX" :
             latlon = ( self.device.fix[4] , self.device.fix[5] , self.device.fix[7] )
-        self.store_scan( scan_out , tstamp , scan_out , latlon )
-        self.refresh_infowin( tstamp )
+        self.store_scan( tstamp , scan_out , latlon )
+        self.refresh_infowin()
         if self._debug :
             osso.SystemNote(self.osso_context).system_note_infoprint("Found %d APs" % len(scan_out) )
         else :
-            self.write_logs( scan_out )
+            self.write_logs( tstamp , scan_out )
 
         return True