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